|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.deliver.controllers.kernel.impl.simple.BaseDeliveryController
|
+--org.infoglue.deliver.controllers.kernel.impl.simple.LanguageDeliveryController
| Method Summary | |
java.util.List |
getAvailableLanguages(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
This method returns the languages assigned to a respository. |
java.util.List |
getAvailableLanguagesForRepository(org.exolab.castor.jdo.Database db,
java.lang.Integer repositoryId)
This method returns all languages for a certain repository. |
static LanguageDeliveryController |
getLanguageDeliveryController()
Factory method |
LanguageVO |
getLanguageIfRepositorySupportsIt(org.exolab.castor.jdo.Database db,
java.lang.String languageCodes,
java.lang.Integer siteNodeId)
This method returns language with the languageCode sent in if it is allowed/supported in the current repository. |
LanguageVO |
getLanguageWithCode(org.exolab.castor.jdo.Database db,
java.lang.String languageCode)
This method returns language with the languageCode sent in. |
LanguageVO |
getLanguageVO(org.exolab.castor.jdo.Database db,
java.lang.Integer languageId)
This method return a LanguageVO |
java.util.Locale |
getLocaleWithId(org.exolab.castor.jdo.Database db,
java.lang.Integer languageId)
This method returns language with the languageCode sent in. |
LanguageVO |
getMasterLanguage(org.exolab.castor.jdo.Database db,
java.lang.String repositoryName)
This method returns the master language. |
LanguageVO |
getMasterLanguageForRepository(org.exolab.castor.jdo.Database db,
java.lang.Integer repositoryId)
This method returns the master language. |
LanguageVO |
getMasterLanguageForRepository(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
This method returns the master language. |
LanguageVO |
getMasterLanguageForSiteNode(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
This method returns the master language. |
| Methods inherited from class org.infoglue.deliver.controllers.kernel.impl.simple.BaseDeliveryController |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, getAllVOObjects, getAllVOObjects, rollbackTransaction |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static LanguageDeliveryController getLanguageDeliveryController()
public LanguageVO getLanguageVO(org.exolab.castor.jdo.Database db,
java.lang.Integer languageId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public java.util.List getAvailableLanguagesForRepository(org.exolab.castor.jdo.Database db,
java.lang.Integer repositoryId)
throws SystemException,
java.lang.Exception
repositoryId -
SystemException
java.lang.Exception
public java.util.List getAvailableLanguages(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getMasterLanguage(org.exolab.castor.jdo.Database db,
java.lang.String repositoryName)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getMasterLanguageForRepository(org.exolab.castor.jdo.Database db,
java.lang.Integer repositoryId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getMasterLanguageForRepository(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getMasterLanguageForSiteNode(org.exolab.castor.jdo.Database db,
java.lang.Integer siteNodeId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public java.util.Locale getLocaleWithId(org.exolab.castor.jdo.Database db,
java.lang.Integer languageId)
public LanguageVO getLanguageWithCode(org.exolab.castor.jdo.Database db,
java.lang.String languageCode)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getLanguageIfRepositorySupportsIt(org.exolab.castor.jdo.Database db,
java.lang.String languageCodes,
java.lang.Integer siteNodeId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||