org.infoglue.cms.controllers.kernel.impl.simple
Class RepositoryLanguageController

java.lang.Object
  extended by org.infoglue.cms.controllers.kernel.impl.simple.BaseController
      extended by org.infoglue.cms.controllers.kernel.impl.simple.RepositoryLanguageController

public class RepositoryLanguageController
extends BaseController


Constructor Summary
RepositoryLanguageController()
           
 
Method Summary
 RepositoryLanguage create(java.lang.Integer repositoryId, java.lang.Integer languageId, java.lang.Integer sortOrder, org.exolab.castor.jdo.Database db)
           
 void createRepositoryLanguage(java.lang.Integer repositoryId, java.lang.Integer languageId, java.lang.Integer sortOrder)
           
 void delete(RepositoryLanguageVO vo)
          This method removes a RepositoryLanguage from the system
 RepositoryLanguage deleteAllRepositoryLanguageWithLanguage(Language language, org.exolab.castor.jdo.Database db)
          This method deletes all repositoryLanguages with a certain languageId.
 RepositoryLanguage deleteAllRepositoryLanguageWithLanguageId(java.lang.Integer languageId)
          This method deletes all repositoryLanguages with a certain languageId.
 void deleteRepositoryLanguages(Repository repository, org.exolab.castor.jdo.Database db)
           
 java.util.List getAvailableLanguageVOListForRepositoryId(java.lang.Integer repositoryId)
           
static RepositoryLanguageController getController()
          Factory method
 BaseEntityVO getNewVO()
          This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.
 java.util.List getRemainingLanguages(java.lang.Integer repositoryId)
           
 java.util.List getRepositoryLanguageListWithRepositoryId(java.lang.Integer repositoryId, org.exolab.castor.jdo.Database db)
           
 RepositoryLanguage getRepositoryLanguageWithId(java.lang.Integer repositoryLanguageId)
           
 RepositoryLanguage getRepositoryLanguageWithId(java.lang.Integer id, org.exolab.castor.jdo.Database db)
           
 java.util.List getRepositoryLanguageVOList()
           
 java.util.List getRepositoryLanguageVOListWithLanguageId(java.lang.Integer languageId)
           
 java.util.List getRepositoryLanguageVOListWithRepositoryId(java.lang.Integer repositoryId)
           
 java.util.List getRepositoryLanguageVOListWithRepositoryId(java.lang.Integer repositoryId, org.exolab.castor.jdo.Database db)
           
 void moveRepositoryLanguage(RepositoryLanguageVO repositoryLanguageVO, boolean down)
           
 void publishRepositoryLanguage(RepositoryLanguageVO repositoryLanguageVO)
           
 void unpublishRepositoryLanguage(RepositoryLanguageVO repositoryLanguageVO)
           
 void updateRepositoryLanguages(java.lang.Integer repositoryId, java.lang.String[] languageValues)
           
 
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, getAllObjects, 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

RepositoryLanguageController

public RepositoryLanguageController()
Method Detail

getController

public static RepositoryLanguageController getController()
Factory method


getRepositoryLanguageWithId

public RepositoryLanguage getRepositoryLanguageWithId(java.lang.Integer id,
                                                      org.exolab.castor.jdo.Database db)
                                               throws SystemException,
                                                      Bug
Throws:
SystemException
Bug

getRepositoryLanguageWithId

public RepositoryLanguage getRepositoryLanguageWithId(java.lang.Integer repositoryLanguageId)
                                               throws ConstraintException,
                                                      SystemException,
                                                      Bug
Throws:
ConstraintException
SystemException
Bug

getRepositoryLanguageVOList

public java.util.List getRepositoryLanguageVOList()
                                           throws SystemException,
                                                  Bug
Throws:
SystemException
Bug

getRepositoryLanguageVOListWithLanguageId

public java.util.List getRepositoryLanguageVOListWithLanguageId(java.lang.Integer languageId)
                                                         throws SystemException,
                                                                Bug
Throws:
SystemException
Bug

getRepositoryLanguageVOListWithRepositoryId

public java.util.List getRepositoryLanguageVOListWithRepositoryId(java.lang.Integer repositoryId)
                                                           throws SystemException,
                                                                  Bug
Throws:
SystemException
Bug

getRepositoryLanguageVOListWithRepositoryId

public java.util.List getRepositoryLanguageVOListWithRepositoryId(java.lang.Integer repositoryId,
                                                                  org.exolab.castor.jdo.Database db)
                                                           throws SystemException,
                                                                  Bug,
                                                                  java.lang.Exception
Throws:
SystemException
Bug
java.lang.Exception

getAvailableLanguageVOListForRepositoryId

public java.util.List getAvailableLanguageVOListForRepositoryId(java.lang.Integer repositoryId)
                                                         throws ConstraintException,
                                                                SystemException,
                                                                java.lang.Exception
Throws:
ConstraintException
SystemException
java.lang.Exception

getRepositoryLanguageListWithRepositoryId

public java.util.List getRepositoryLanguageListWithRepositoryId(java.lang.Integer repositoryId,
                                                                org.exolab.castor.jdo.Database db)
                                                         throws SystemException,
                                                                Bug,
                                                                java.lang.Exception
Throws:
SystemException
Bug
java.lang.Exception

delete

public void delete(RepositoryLanguageVO vo)
            throws ConstraintException,
                   SystemException
This method removes a RepositoryLanguage from the system

Throws:
ConstraintException
SystemException

deleteRepositoryLanguages

public void deleteRepositoryLanguages(Repository repository,
                                      org.exolab.castor.jdo.Database db)
                               throws SystemException,
                                      Bug
Throws:
SystemException
Bug

deleteAllRepositoryLanguageWithLanguageId

public RepositoryLanguage deleteAllRepositoryLanguageWithLanguageId(java.lang.Integer languageId)
                                                             throws SystemException,
                                                                    Bug
This method deletes all repositoryLanguages with a certain languageId.

Throws:
SystemException
Bug

deleteAllRepositoryLanguageWithLanguage

public RepositoryLanguage deleteAllRepositoryLanguageWithLanguage(Language language,
                                                                  org.exolab.castor.jdo.Database db)
                                                           throws SystemException,
                                                                  Bug
This method deletes all repositoryLanguages with a certain languageId.

Throws:
SystemException
Bug

create

public RepositoryLanguage create(java.lang.Integer repositoryId,
                                 java.lang.Integer languageId,
                                 java.lang.Integer sortOrder,
                                 org.exolab.castor.jdo.Database db)
                          throws java.lang.Exception
Throws:
java.lang.Exception

publishRepositoryLanguage

public void publishRepositoryLanguage(RepositoryLanguageVO repositoryLanguageVO)
                               throws ConstraintException,
                                      SystemException
Throws:
ConstraintException
SystemException

unpublishRepositoryLanguage

public void unpublishRepositoryLanguage(RepositoryLanguageVO repositoryLanguageVO)
                                 throws ConstraintException,
                                        SystemException
Throws:
ConstraintException
SystemException

moveRepositoryLanguage

public void moveRepositoryLanguage(RepositoryLanguageVO repositoryLanguageVO,
                                   boolean down)
                            throws ConstraintException,
                                   SystemException
Throws:
ConstraintException
SystemException

createRepositoryLanguage

public void createRepositoryLanguage(java.lang.Integer repositoryId,
                                     java.lang.Integer languageId,
                                     java.lang.Integer sortOrder)
                              throws ConstraintException,
                                     SystemException
Throws:
ConstraintException
SystemException

updateRepositoryLanguages

public void updateRepositoryLanguages(java.lang.Integer repositoryId,
                                      java.lang.String[] languageValues)
                               throws ConstraintException,
                                      SystemException
Throws:
ConstraintException
SystemException

getRemainingLanguages

public java.util.List getRemainingLanguages(java.lang.Integer repositoryId)
                                     throws ConstraintException,
                                            SystemException
Throws:
ConstraintException
SystemException

getNewVO

public BaseEntityVO getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling.

Specified by:
getNewVO in class BaseController


Copyright © 2005 InfoGlue.org All Rights Reserved.