|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.infoglue.cms.controllers.kernel.impl.simple.BaseController
org.infoglue.cms.controllers.kernel.impl.simple.LanguageController
public class LanguageController
This class handles all interaction with Languages and persistence of them.
| Constructor Summary | |
|---|---|
LanguageController()
|
|
| Method Summary | |
|---|---|
LanguageVO |
create(org.exolab.castor.jdo.Database db,
LanguageVO languageVO)
|
LanguageVO |
create(LanguageVO languageVO)
|
void |
delete(org.exolab.castor.jdo.Database db,
LanguageVO languageVO)
This method removes a Language from the system and also cleans out all depending repositoryLanguages. |
void |
delete(LanguageVO languageVO)
This method removes a Language from the system and also cleans out all depending repositoryLanguages. |
void |
deleteLanguage(java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
This method deletes the Repository sent in from the system. |
static LanguageController |
getController()
Factory method |
java.util.List |
getLanguageList(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
|
Language |
getLanguageWithCode(java.lang.String code,
org.exolab.castor.jdo.Database db)
Returns the Language with the given languageCode fetched within a given transaction. |
Language |
getLanguageWithId(java.lang.Integer languageId)
|
Language |
getLanguageWithId(java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
|
Language |
getLanguageWithName(java.lang.String name,
org.exolab.castor.jdo.Database db)
Returns the Language with the given name fetched within a given transaction. |
Language |
getLanguageWithRepositoryLanguageId(java.lang.Integer repositoryLanguageId,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getLanguageVOList()
|
java.util.List |
getLanguageVOList(org.exolab.castor.jdo.Database db)
|
java.util.List |
getLanguageVOList(java.lang.Integer repositoryId)
|
java.util.List |
getLanguageVOList(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
|
LanguageVO |
getLanguageVOWithCode(java.lang.String code)
Returns the LanguageVO with the given languageCode. |
LanguageVO |
getLanguageVOWithCode(java.lang.String code,
org.exolab.castor.jdo.Database db)
Returns the LanguageVO with the given languageCode. |
LanguageVO |
getLanguageVOWithId(java.lang.Integer languageId)
This method return a LanguageVO |
LanguageVO |
getLanguageVOWithId(java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
This method returns a specific LanguageVO object |
LanguageVO |
getLanguageVOWithName(java.lang.String name)
Returns the LanguageVO with the given name. |
LanguageVO |
getLanguageVOWithRepositoryLanguageId(java.lang.Integer repositoryLanguageId)
|
java.util.Locale |
getLocaleWithId(java.lang.Integer languageId)
This method returns language with the languageCode sent in. |
Language |
getMasterLanguage(org.exolab.castor.jdo.Database db,
java.lang.Integer repositoryId)
This method returns the master language within an transaction. |
LanguageVO |
getMasterLanguage(java.lang.Integer repositoryId)
This method returns the master language. |
LanguageVO |
getMasterLanguage(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
This method returns the master language. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
LanguageVO |
update(LanguageVO languageVO)
|
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
|---|
beginTransaction, beginTransaction, closeDatabase, commitTransaction, createEntity, createEntity, createQuery, deleteEntity, deleteEntity, deleteEntity, deleteEntity, executeQuery, executeQuery, executeQuery, executeQuery, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getLogger, getObjectWithId, getObjectWithId, getObjectWithIdAsReadOnly, getVOWithId, getVOWithId, getVOWithId, getVOWithId, intercept, intercept, rollbackTransaction, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageController()
| Method Detail |
|---|
public static LanguageController getController()
public LanguageVO getLanguageVOWithId(java.lang.Integer languageId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getLanguageVOWithId(java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bugpublic java.util.Locale getLocaleWithId(java.lang.Integer languageId)
public LanguageVO getLanguageVOWithName(java.lang.String name)
throws SystemException,
Bug
name -
SystemException
Bug
public Language getLanguageWithName(java.lang.String name,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
name - db -
SystemException
Bug
public LanguageVO getLanguageVOWithCode(java.lang.String code,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
code -
SystemException
Bug
public LanguageVO getLanguageVOWithCode(java.lang.String code)
throws SystemException,
Bug
code -
SystemException
Bug
public Language getLanguageWithCode(java.lang.String code,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
code - db -
SystemException
Bug
public LanguageVO create(LanguageVO languageVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public LanguageVO create(org.exolab.castor.jdo.Database db,
LanguageVO languageVO)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void delete(LanguageVO languageVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(org.exolab.castor.jdo.Database db,
LanguageVO languageVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public Language getLanguageWithId(java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public Language getLanguageWithId(java.lang.Integer languageId)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public LanguageVO getLanguageVOWithRepositoryLanguageId(java.lang.Integer repositoryLanguageId)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public Language getLanguageWithRepositoryLanguageId(java.lang.Integer repositoryLanguageId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public java.util.List getLanguageVOList(java.lang.Integer repositoryId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getLanguageVOList(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getLanguageList(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getLanguageVOList(org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getLanguageVOList()
throws SystemException,
Bug
SystemException
Bug
public LanguageVO getMasterLanguage(java.lang.Integer repositoryId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public LanguageVO getMasterLanguage(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public Language getMasterLanguage(org.exolab.castor.jdo.Database db,
java.lang.Integer repositoryId)
throws SystemException,
java.lang.Exception
SystemException
java.lang.Exception
public void deleteLanguage(java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public LanguageVO update(LanguageVO languageVO)
throws ConstraintException,
SystemException
ConstraintException
SystemExceptionpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||