|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
|
+--org.infoglue.cms.controllers.kernel.impl.simple.AccessRightController
This class is a helper class for the use case handle Accesss
| Constructor Summary | |
AccessRightController()
|
|
| Method Summary | |
AccessRight |
create(AccessRightVO accessRightVO,
InterceptionPoint interceptionPoint,
org.exolab.castor.jdo.Database db)
This method creates an access note. |
AccessRightGroup |
createAccessRightGroup(org.exolab.castor.jdo.Database db,
AccessRightGroupVO accessRightGroupVO,
AccessRight accessRight)
This method creates a AccessRightGroup-object in the database. |
AccessRightRole |
createAccessRightRole(org.exolab.castor.jdo.Database db,
AccessRightRoleVO accessRightRoleVO,
AccessRight accessRight)
This method creates a AccessRightRole-object in the database. |
void |
delete(java.lang.Integer interceptionPointId,
java.lang.String parameters,
org.exolab.castor.jdo.Database db)
This method deletes all occurrencies of AccessRight which has the interceptionPointId. |
void |
delete(java.lang.String roleName)
This method deletes all occurrencies of AccessRight which has the interceptionPointId. |
java.util.List |
getAccessRightGroupVOList(java.lang.Integer accessRightId)
|
java.util.List |
getAccessRightList(java.lang.Integer interceptionPointId,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightList(java.lang.Integer interceptionPointId,
java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightList(java.lang.Integer interceptionPointId,
java.lang.String parameters,
java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightList(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightList(java.lang.String interceptionPointName,
java.lang.String parameters,
java.lang.String roleName,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightListForEntity(java.lang.Integer interceptionPointId,
java.lang.String parameters,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightListOnly(java.lang.Integer interceptionPointId,
java.lang.String parameters,
org.exolab.castor.jdo.Database db)
|
AccessRight |
getAccessRightWithId(java.lang.Integer accessRightId,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightVOList()
|
java.util.List |
getAccessRightVOList(org.exolab.castor.jdo.Database db)
|
java.util.List |
getAccessRightVOList(org.exolab.castor.jdo.Database db,
java.lang.Integer interceptionPointId,
java.lang.String parameters,
java.lang.String roleName)
|
java.util.List |
getAccessRightVOList(java.lang.Integer interceptionPointId,
java.lang.String parameters,
java.lang.String roleName)
|
java.util.List |
getAccessRightVOListOnly(org.exolab.castor.jdo.Database db,
java.lang.Integer interceptionPointId,
java.lang.String parameters)
|
java.util.List |
getAccessRightVOListOnly(java.lang.Integer interceptionPointId,
java.lang.String parameters)
|
AccessRightVO |
getAccessRightVOWithId(java.lang.Integer accessRightId)
|
static AccessRightController |
getController()
Factory method |
boolean |
getIsPrincipalAuthorized(org.exolab.castor.jdo.Database db,
InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName)
This method checks if a role has access to an entity. |
boolean |
getIsPrincipalAuthorized(org.exolab.castor.jdo.Database db,
InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName,
java.lang.String extraParameters)
This method checks if a role has access to an entity. |
boolean |
getIsPrincipalAuthorized(InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName)
This method checks if a role has access to an entity. |
boolean |
getIsPrincipalAuthorized(InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName,
java.lang.String parameters)
This method checks if a role has access to an entity. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
AccessRightVO |
update(AccessRightVO AccessRightVO)
|
void |
update(java.lang.String parameters,
javax.servlet.http.HttpServletRequest request)
|
void |
updateGroups(java.lang.Integer accessRightId,
java.lang.String parameters,
java.lang.String[] groupNames)
|
| 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 |
| Constructor Detail |
public AccessRightController()
| Method Detail |
public static AccessRightController getController()
public AccessRight getAccessRightWithId(java.lang.Integer accessRightId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public AccessRightVO getAccessRightVOWithId(java.lang.Integer accessRightId)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightVOList()
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightVOList(org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightGroupVOList(java.lang.Integer accessRightId)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightVOList(java.lang.Integer interceptionPointId,
java.lang.String parameters,
java.lang.String roleName)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightVOList(org.exolab.castor.jdo.Database db,
java.lang.Integer interceptionPointId,
java.lang.String parameters,
java.lang.String roleName)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightVOListOnly(java.lang.Integer interceptionPointId,
java.lang.String parameters)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightVOListOnly(org.exolab.castor.jdo.Database db,
java.lang.Integer interceptionPointId,
java.lang.String parameters)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightList(java.lang.String interceptionPointName,
java.lang.String parameters,
java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightList(java.lang.Integer interceptionPointId,
java.lang.String parameters,
java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightListOnly(java.lang.Integer interceptionPointId,
java.lang.String parameters,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightListForEntity(java.lang.Integer interceptionPointId,
java.lang.String parameters,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightList(java.lang.Integer interceptionPointId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightList(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAccessRightList(java.lang.Integer interceptionPointId,
java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public AccessRight create(AccessRightVO accessRightVO,
InterceptionPoint interceptionPoint,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
accessRightVO - db -
SystemException
java.lang.Exception
public AccessRightVO update(AccessRightVO AccessRightVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void update(java.lang.String parameters,
javax.servlet.http.HttpServletRequest request)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void updateGroups(java.lang.Integer accessRightId,
java.lang.String parameters,
java.lang.String[] groupNames)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public AccessRightRole createAccessRightRole(org.exolab.castor.jdo.Database db,
AccessRightRoleVO accessRightRoleVO,
AccessRight accessRight)
throws SystemException,
java.lang.Exception
db - accessRightRoleVO -
SystemException
java.lang.Exception
public AccessRightGroup createAccessRightGroup(org.exolab.castor.jdo.Database db,
AccessRightGroupVO accessRightGroupVO,
AccessRight accessRight)
throws SystemException,
java.lang.Exception
db -
SystemException
java.lang.Exception
public void delete(java.lang.String roleName)
throws SystemException,
java.lang.Exception
roleName -
ConstraintException
SystemException
java.lang.Exception
public void delete(java.lang.Integer interceptionPointId,
java.lang.String parameters,
org.exolab.castor.jdo.Database db)
throws SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public boolean getIsPrincipalAuthorized(InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName,
java.lang.String parameters)
throws SystemException
SystemException
public boolean getIsPrincipalAuthorized(org.exolab.castor.jdo.Database db,
InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName,
java.lang.String extraParameters)
throws SystemException
SystemException
public boolean getIsPrincipalAuthorized(InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName)
throws SystemException
SystemException
public boolean getIsPrincipalAuthorized(org.exolab.castor.jdo.Database db,
InfoGluePrincipal infoGluePrincipal,
java.lang.String interceptionPointName)
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 | ||||||||||