Klasse DefaultAbstractTurbineUser
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
org.apache.fulcrum.security.torque.turbine.DefaultAbstractTurbineUser
- Alle implementierten Schnittstellen:
- Serializable,- SecurityEntity,- TurbineUserGroupRoleEntity,- org.apache.torque.om.ObjectModel,- org.apache.torque.om.Persistent
- Bekannte direkte Unterklassen:
- BaseTurbineUser
public abstract class DefaultAbstractTurbineUser
extends TorqueAbstractTurbineTurbineSecurityEntityDefault
This abstract class provides the SecurityInterface to the managers.
 
 An implementing class is required to implement 
User at least. Most probably the OM classes allow to implement TurbineUser, which includes User.- Version:
- $Id:$
- Autor:
- Thomas Vandahl
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoiddelete()Delete this entityprotected <T extends TurbineUserGroupRoleModelPeerMapper>
 List<T>getTurbineUserGroupRolesJoinTurbineGroup(org.apache.torque.criteria.Criteria criteria, Connection con) Forward reference to module generated code Get a list of association objects, pre-populated with their TurbineGroup objects.voidold contract, lazy is set tofalse.voidretrieveAttachedObjects(Connection con, Boolean lazy) Retrieve attached objects such as users, permissions, ...<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)voidupdate(Connection con) Update this instance to the database with all dependent objectsVon Klasse geerbte Methoden org.apache.fulcrum.security.torque.security.turbine.TorqueAbstractTurbineTurbineSecurityEntityaddUserGroupRole, addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, removeUserGroupRole, setUserGroupRoleSetVon Klasse geerbte Methoden org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntitygetEntityId, getEntityName, getId, getName, setEntityId, setEntityName, setId, setNameVon Klasse geerbte Methoden java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.apache.torque.om.ObjectModelgetPrimaryKey, isModified, isNew, setModified, setNew, setPrimaryKey, setPrimaryKeyVon Schnittstelle geerbte Methoden org.apache.torque.om.Persistentsave, save, saveVon Schnittstelle geerbte Methoden org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRoleEntityaddUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
- 
Konstruktordetails- 
DefaultAbstractTurbineUserpublic DefaultAbstractTurbineUser()
 
- 
- 
Methodendetails- 
getTurbineUserGroupRolesJoinTurbineGroupprotected <T extends TurbineUserGroupRoleModelPeerMapper> List<T> getTurbineUserGroupRolesJoinTurbineGroup(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException, DataBackendException Forward reference to module generated code Get a list of association objects, pre-populated with their TurbineGroup objects. Does intentionally not initialize the cache collTurbineUserGroupRoles for referenced objects. Be careful not to call any of the generated getTurbineUserGroupRoles methods in derived classes, the linkPersistent.save()method otherwise might not update the right relationships.- Parameter:
- criteria- Criteria to define the selection of records
- con- a database connection
- Gibt zurück:
- a list of User/Group/Role relations
- Löst aus:
- DataBackendException
- org.apache.torque.TorqueException- if any database error occurs
 
- 
retrieveAttachedObjectspublic <T extends TurbineUserGroupRoleModelPeerMapper> void retrieveAttachedObjects(Connection con, Boolean lazy, List<T> ugrs) throws DataBackendException, org.apache.torque.TorqueException Beschreibung aus Klasse kopiert:TorqueAbstractTurbineTurbineSecurityEntityDefaultRetrieve 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)- Angegeben von:
- retrieveAttachedObjectsin Klasse- TorqueAbstractTurbineTurbineSecurityEntityDefault
- Parameter:
- con- A database connection
- lazy- if- true, fetches objects lazily
- ugrs- The custom TurbineUserGroupRole set
- Löst aus:
- DataBackendException- if data connection or user information (table objects) not found
- org.apache.torque.TorqueException
- Siehe auch:
 
- 
retrieveAttachedObjectspublic void retrieveAttachedObjects(Connection con, Boolean lazy) throws org.apache.torque.TorqueException, DataBackendException Beschreibung aus Klasse kopiert:TorqueAbstractSecurityEntityRetrieve attached objects such as users, permissions, ...- Angegeben von:
- retrieveAttachedObjectsin Klasse- TorqueAbstractSecurityEntity
- Parameter:
- con- A database connection
- lazy- if- true, may load some or all relationships later
- Löst aus:
- org.apache.torque.TorqueException- database not found exception
- DataBackendException
 
- 
retrieveAttachedObjectspublic void retrieveAttachedObjects(Connection con) throws DataBackendException, org.apache.torque.TorqueException Beschreibung aus Klasse kopiert:TorqueAbstractSecurityEntityold contract, lazy is set tofalse.- Angegeben von:
- retrieveAttachedObjectsin Klasse- TorqueAbstractSecurityEntity
- Parameter:
- con- A database connection
- Löst aus:
- DataBackendException- wrapper exception: user information not found exception
- org.apache.torque.TorqueException
 
- 
updateBeschreibung aus Klasse kopiert:TorqueAbstractSecurityEntityUpdate this instance to the database with all dependent objects- Angegeben von:
- updatein Klasse- TorqueAbstractSecurityEntity
- Parameter:
- con- A database connection
- Löst aus:
- org.apache.torque.TorqueException- database not found exception
 
- 
deletepublic void delete() throws org.apache.torque.TorqueExceptionBeschreibung aus Klasse kopiert:TorqueAbstractSecurityEntityDelete this entity- Angegeben von:
- deletein Klasse- TorqueAbstractSecurityEntity
- Löst aus:
- org.apache.torque.TorqueException- if any database error occurs if any database operation fails
 
 
-