|
|||||||||
| 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.RoleController
public class RoleController
RoleHelper.java Created on 2002-aug-28
| Constructor Summary | |
|---|---|
RoleController()
|
|
| Method Summary | |
|---|---|
RoleVO |
create(RoleVO roleVO)
|
Role |
create(RoleVO roleVO,
org.exolab.castor.jdo.Database db)
|
void |
delete(RoleVO roleVO)
|
void |
delete(RoleVO roleVO,
org.exolab.castor.jdo.Database db)
|
void |
delete(java.lang.String roleName)
|
void |
delete(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
static RoleController |
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.Collection |
getRoleList(java.lang.String userName,
org.exolab.castor.jdo.Database db)
This method gets a list of Roles for a particular systemUser. |
java.util.List |
getRoleSystemUserVOList(java.lang.String roleName)
|
java.util.List |
getRoleSystemUserVOList(java.lang.String userName,
org.exolab.castor.jdo.Database db)
|
Role |
getRoleWithId(java.lang.Integer roleId,
org.exolab.castor.jdo.Database db)
|
Role |
getRoleWithName(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getRoleVOList()
|
java.util.List |
getRoleVOList(org.exolab.castor.jdo.Database db)
|
java.util.List |
getRoleVOList(java.lang.String userName)
This method gets a list of Roles for a particular systemUser. |
RoleVO |
getRoleVOWithId(java.lang.Integer roleId)
|
RoleVO |
getRoleVOWithId(java.lang.String roleName)
|
RoleVO |
getRoleVOWithId(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
RoleVO |
update(RoleVO roleVO)
|
RoleVO |
update(RoleVO roleVO,
java.lang.String[] systemUsers)
|
Role |
update(RoleVO roleVO,
java.lang.String[] systemUsers,
org.exolab.castor.jdo.Database db)
|
| 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 RoleController()
| Method Detail |
|---|
public static RoleController getController()
public Role getRoleWithId(java.lang.Integer roleId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public Role getRoleWithName(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public RoleVO getRoleVOWithId(java.lang.Integer roleId)
throws SystemException,
Bug
SystemException
Bug
public RoleVO getRoleVOWithId(java.lang.String roleName)
throws SystemException,
Bug
SystemException
Bug
public RoleVO getRoleVOWithId(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getRoleVOList()
throws SystemException,
Bug
SystemException
Bug
public java.util.List getRoleVOList(org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public RoleVO create(RoleVO roleVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public Role create(RoleVO roleVO,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void delete(RoleVO roleVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(RoleVO roleVO,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void delete(java.lang.String roleName)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public java.util.List getRoleSystemUserVOList(java.lang.String userName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getRoleSystemUserVOList(java.lang.String roleName)
throws SystemException,
Bug
SystemException
Bug
public RoleVO update(RoleVO roleVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public RoleVO update(RoleVO roleVO,
java.lang.String[] systemUsers)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public Role update(RoleVO roleVO,
java.lang.String[] systemUsers,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getRoleVOList(java.lang.String userName)
throws SystemException,
Bug
systemUserId -
SystemException
Bug
public java.util.Collection getRoleList(java.lang.String userName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
systemUserId -
SystemException
Bugpublic BaseEntityVO getNewVO()
getNewVO in class BaseController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||