org.infoglue.cms.controllers.kernel.impl.simple
Class RoleController
java.lang.Object
|
+--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
|
+--org.infoglue.cms.controllers.kernel.impl.simple.RoleController
- public class RoleController
- extends BaseController
RoleHelper.java
Created on 2002-aug-28
- Author:
- Stefan Sik, ss@frovi.com
This class is a helper class for the use case handle roles
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
deleteEntity, deleteEntity, deleteEntity, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getVOWithId, getVOWithId, getVOWithId, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleController
public RoleController()
getController
public static RoleController getController()
- Factory method
getRoleWithId
public Role getRoleWithId(java.lang.Integer roleId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
getRoleWithName
public Role getRoleWithName(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
getRoleVOWithId
public RoleVO getRoleVOWithId(java.lang.Integer roleId)
throws SystemException,
Bug
SystemException
Bug
getRoleVOWithId
public RoleVO getRoleVOWithId(java.lang.String roleName)
throws SystemException,
Bug
SystemException
Bug
getRoleVOList
public java.util.List getRoleVOList()
throws SystemException,
Bug
SystemException
Bug
create
public RoleVO create(RoleVO roleVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
delete
public void delete(RoleVO roleVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
delete
public void delete(java.lang.String roleName)
throws ConstraintException,
SystemException
ConstraintException
SystemException
getRoleSystemUserVOList
public java.util.List getRoleSystemUserVOList(java.lang.String userName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
getRoleSystemUserVOList
public java.util.List getRoleSystemUserVOList(java.lang.String roleName)
throws SystemException,
Bug
SystemException
Bug
update
public RoleVO update(RoleVO roleVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
update
public RoleVO update(RoleVO roleVO,
java.lang.String[] systemUsers)
throws ConstraintException,
SystemException
ConstraintException
SystemException
getRoleVOList
public java.util.List getRoleVOList(java.lang.String userName)
throws SystemException,
Bug
- This method gets a list of Roles for a particular systemUser.
- Returns:
-
- Throws:
SystemException
Bug
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