|
||||||||||
| 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.RepositoryController
public class RepositoryController
| Constructor Summary | |
|---|---|
RepositoryController()
|
|
| Method Summary | |
|---|---|
RepositoryVO |
create(RepositoryVO vo)
|
void |
delete(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
This method deletes the Repository sent in from the system. |
void |
delete(RepositoryVO repositoryVO,
java.lang.String userName,
boolean forceDelete,
InfoGluePrincipal infoGluePrincipal)
This method removes a Repository from the system and also cleans out all depending repositoryLanguages. |
void |
delete(RepositoryVO repositoryVO,
java.lang.String userName,
InfoGluePrincipal infoGluePrincipal)
This method removes a Repository from the system and also cleans out all depending repositoryLanguages. |
java.util.List |
getAuthorizedRepositoryVOList(InfoGluePrincipal infoGluePrincipal,
boolean isBindingDialog)
This method can be used by actions and use-case-controllers that only need to have simple access to the functionality. |
static RepositoryController |
getController()
Factory method |
RepositoryVO |
getFirstRepositoryVO()
Return the first of all repositories. |
boolean |
getIsAccessApproved(java.lang.Integer repositoryId,
InfoGluePrincipal infoGluePrincipal,
boolean isBindingDialog)
This method returns true if the user should have access to the repository sent in. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
Repository |
getRepositoryWithId(java.lang.Integer id,
org.exolab.castor.jdo.Database db)
|
Repository |
getRepositoryWithName(java.lang.String name,
org.exolab.castor.jdo.Database db)
Returns the Repository with the given name fetched within a given transaction. |
java.util.List |
getRepositoryVOList()
This method can be used by actions and use-case-controllers that only need to have simple access to the functionality. |
RepositoryVO |
getRepositoryVOWithId(java.lang.Integer repositoryId)
|
RepositoryVO |
getRepositoryVOWithName(java.lang.String name)
Returns the RepositoryVO with the given name. |
RepositoryVO |
update(RepositoryVO vo)
|
RepositoryVO |
update(RepositoryVO repositoryVO,
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, 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 RepositoryController()
| Method Detail |
|---|
public static RepositoryController getController()
public RepositoryVO create(RepositoryVO vo)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(RepositoryVO repositoryVO,
java.lang.String userName,
InfoGluePrincipal infoGluePrincipal)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(RepositoryVO repositoryVO,
java.lang.String userName,
boolean forceDelete,
InfoGluePrincipal infoGluePrincipal)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public RepositoryVO update(RepositoryVO vo)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public RepositoryVO update(RepositoryVO repositoryVO,
java.lang.String[] languageValues)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public Repository getRepositoryWithId(java.lang.Integer id,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public RepositoryVO getRepositoryVOWithId(java.lang.Integer repositoryId)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public RepositoryVO getRepositoryVOWithName(java.lang.String name)
throws SystemException,
Bug
name -
SystemException
Bug
public Repository getRepositoryWithName(java.lang.String name,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
name - db -
SystemException
Bug
public java.util.List getRepositoryVOList()
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public java.util.List getAuthorizedRepositoryVOList(InfoGluePrincipal infoGluePrincipal,
boolean isBindingDialog)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public RepositoryVO getFirstRepositoryVO()
throws SystemException,
Bug
SystemException
Bug
public void delete(java.lang.Integer repositoryId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public boolean getIsAccessApproved(java.lang.Integer repositoryId,
InfoGluePrincipal infoGluePrincipal,
boolean isBindingDialog)
throws SystemException
SystemExceptionpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||