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 voidaddUserGroupRole(TurbineUserGroupRole userGroupRole)Add a User/Group/Role relation to this entityvoidaddUserGroupRole(TurbineUserGroupRole user_group_role, boolean isLazilyLoaded)<T extends TurbineUserGroupRole>
Set<T>getUserGroupRoleSet()Get the User/Group/Role set associated with this entityvoidremoveUserGroupRole(TurbineUserGroupRole userGroupRole)Remove a User/Group/Role relation from this entityvoidremoveUserGroupRole(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:TurbineUserGroupRoleEntityAdd a User/Group/Role relation to this entity- Specified by:
addUserGroupRolein 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-truefor 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:TurbineUserGroupRoleEntityGet the User/Group/Role set associated with this entity- Specified by:
getUserGroupRoleSetin 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:TurbineUserGroupRoleEntityRemove a User/Group/Role relation from this entity- Specified by:
removeUserGroupRolein 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-truefor 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:TurbineUserGroupRoleEntitySet the User/Group/Role set associated with this entity- Specified by:
setUserGroupRoleSetin interfaceTurbineUserGroupRoleEntity- Type Parameters:
T- TurbineUserGroupRole- Parameters:
userGroupRoleSet- a set of User/Group/Role relations
-
-