Class TorqueAbstractTurbineTurbineSecurityEntityDefault
- java.lang.Object
-
- org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
-
- org.apache.fulcrum.security.torque.security.turbine.TorqueAbstractTurbineTurbineSecurityEntity
-
- org.apache.fulcrum.security.torque.security.turbine.TorqueAbstractTurbineTurbineSecurityEntityDefault
-
- All Implemented Interfaces:
Serializable
,SecurityEntity
,TurbineUserGroupRoleEntity
,org.apache.torque.om.ObjectModel
,org.apache.torque.om.Persistent
- Direct Known Subclasses:
DefaultAbstractTurbineUser
public abstract class TorqueAbstractTurbineTurbineSecurityEntityDefault extends TorqueAbstractTurbineTurbineSecurityEntity implements TurbineUserGroupRoleEntity
This abstract class extends the user manager to allow for custom OM attached objects (user group role relationships) for ACL. Additional Torque Custom Peer contract- Version:
- $Id:$
- Author:
- Georg Kallidis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TorqueAbstractTurbineTurbineSecurityEntityDefault()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <T extends TurbineUserGroupRoleModelPeerMapper>
voidretrieveAttachedObjects(Connection con, Boolean lazy, List<T> ugrs)
Retrieve attached objects for user: user-group-role relationship(s) This method is required if custom peers is activated for (user) manager, to allow the custom group/role inACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User)
-
Methods inherited from class org.apache.fulcrum.security.torque.security.turbine.TorqueAbstractTurbineTurbineSecurityEntity
addUserGroupRole, addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, removeUserGroupRole, setUserGroupRoleSet
-
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
-
Methods inherited from interface org.apache.torque.om.ObjectModel
getPrimaryKey, isModified, isNew, setModified, setNew, setPrimaryKey, setPrimaryKey
-
Methods inherited from interface org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRoleEntity
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
-
-
-
-
Constructor Detail
-
TorqueAbstractTurbineTurbineSecurityEntityDefault
public TorqueAbstractTurbineTurbineSecurityEntityDefault()
-
-
Method Detail
-
retrieveAttachedObjects
public abstract <T extends TurbineUserGroupRoleModelPeerMapper> void retrieveAttachedObjects(Connection con, Boolean lazy, List<T> ugrs) throws DataBackendException, org.apache.torque.TorqueException
Retrieve attached objects for user: user-group-role relationship(s) This method is required if custom peers is activated for (user) manager, to allow the custom group/role inACLFactory.getAccessControlList(org.apache.fulcrum.security.entity.User)
- Parameters:
con
- A database connectionlazy
- iftrue
, fetches objects lazilyugrs
- The custom TurbineUserGroupRole set- Throws:
DataBackendException
- if data connection or user information (table objects) not foundorg.apache.torque.TorqueException
-
-