Class TorqueAbstractTurbineTurbineSecurityEntity
- java.lang.Object
-
- org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
-
- org.apache.fulcrum.security.torque.security.turbine.TorqueAbstractTurbineTurbineSecurityEntity
-
- All Implemented Interfaces:
Serializable
,SecurityEntity
,TurbineUserGroupRoleEntity
,org.apache.torque.om.ObjectModel
,org.apache.torque.om.Persistent
- Direct Known Subclasses:
DefaultAbstractTurbineGroup
,DefaultAbstractTurbineRole
,FulcrumAbstractTurbineGroup
,FulcrumAbstractTurbineRole
,FulcrumAbstractTurbineUser
,TorqueAbstractTurbineTurbineSecurityEntityDefault
public abstract class TorqueAbstractTurbineTurbineSecurityEntity extends TorqueAbstractSecurityEntity implements TurbineUserGroupRoleEntity
This abstract class provides the SecurityInterface to the managers. Additional Torque contract- Version:
- $Id:$
- Author:
- Thomas Vandahl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TorqueAbstractTurbineTurbineSecurityEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUserGroupRole(TurbineUserGroupRole userGroupRole)
Add a User/Group/Role relation to this entityvoid
addUserGroupRole(TurbineUserGroupRole user_group_role, boolean isLazilyLoaded)
<T extends TurbineUserGroupRole>
Set<T>getUserGroupRoleSet()
Get the User/Group/Role set associated with this entityvoid
removeUserGroupRole(TurbineUserGroupRole userGroupRole)
Remove a User/Group/Role relation from this entityvoid
removeUserGroupRole(TurbineUserGroupRole user_group_role, boolean isLazilyLoaded)
<T extends TurbineUserGroupRole>
voidsetUserGroupRoleSet(Set<T> userGroupRoleSet)
Set the User/Group/Role set associated with this entity-
Methods inherited from class org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
delete, getEntityId, getEntityName, getId, getName, retrieveAttachedObjects, retrieveAttachedObjects, setEntityId, setEntityName, setId, setName, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
TorqueAbstractTurbineTurbineSecurityEntity
public TorqueAbstractTurbineTurbineSecurityEntity()
-
-
Method Detail
-
addUserGroupRole
public void addUserGroupRole(TurbineUserGroupRole userGroupRole) throws DataBackendException
Description copied from interface:TurbineUserGroupRoleEntity
Add a User/Group/Role relation to this entity- Specified by:
addUserGroupRole
in interfaceTurbineUserGroupRoleEntity
- Parameters:
userGroupRole
- a User/Group/Role relation to add- Throws:
DataBackendException
- generic exception
-
addUserGroupRole
public void addUserGroupRole(TurbineUserGroupRole user_group_role, boolean isLazilyLoaded) throws DataBackendException
- Parameters:
user_group_role
- u/g/r to addisLazilyLoaded
-true
for lazy loading- Throws:
DataBackendException
- if the database backend is not found
-
getUserGroupRoleSet
public <T extends TurbineUserGroupRole> Set<T> getUserGroupRoleSet() throws DataBackendException
Description copied from interface:TurbineUserGroupRoleEntity
Get the User/Group/Role set associated with this entity- Specified by:
getUserGroupRoleSet
in interfaceTurbineUserGroupRoleEntity
- Type Parameters:
T
- TurbineUserGroupRole- Returns:
- a set of User/Group/Role relations
- Throws:
DataBackendException
- generic exception
-
removeUserGroupRole
public void removeUserGroupRole(TurbineUserGroupRole userGroupRole) throws DataBackendException
Description copied from interface:TurbineUserGroupRoleEntity
Remove a User/Group/Role relation from this entity- Specified by:
removeUserGroupRole
in interfaceTurbineUserGroupRoleEntity
- Parameters:
userGroupRole
- a User/Group/Role relation to remove- Throws:
DataBackendException
- generic exception
-
removeUserGroupRole
public void removeUserGroupRole(TurbineUserGroupRole user_group_role, boolean isLazilyLoaded) throws DataBackendException
- Parameters:
user_group_role
- u/g/r to removeisLazilyLoaded
-true
for lazy loading- Throws:
DataBackendException
- if the database backend is not found
-
setUserGroupRoleSet
public <T extends TurbineUserGroupRole> void setUserGroupRoleSet(Set<T> userGroupRoleSet)
Description copied from interface:TurbineUserGroupRoleEntity
Set the User/Group/Role set associated with this entity- Specified by:
setUserGroupRoleSet
in interfaceTurbineUserGroupRoleEntity
- Type Parameters:
T
- TurbineUserGroupRole- Parameters:
userGroupRoleSet
- a set of User/Group/Role relations
-
-