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übersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
delete()
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.void
old contract, lazy is set tofalse
.void
retrieveAttachedObjects
(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)
void
update
(Connection con) Update this instance to the database with all dependent objectsVon Klasse geerbte Methoden org.apache.fulcrum.security.torque.security.turbine.TorqueAbstractTurbineTurbineSecurityEntity
addUserGroupRole, addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, removeUserGroupRole, setUserGroupRoleSet
Von Klasse geerbte Methoden org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
getEntityId, getEntityName, getId, getName, setEntityId, setEntityName, setId, setName
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.apache.torque.om.ObjectModel
getPrimaryKey, isModified, isNew, setModified, setNew, setPrimaryKey, setPrimaryKey
Von Schnittstelle geerbte Methoden org.apache.torque.om.Persistent
save, save, save
Von Schnittstelle geerbte Methoden org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRoleEntity
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
-
Konstruktordetails
-
DefaultAbstractTurbineUser
public DefaultAbstractTurbineUser()
-
-
Methodendetails
-
getTurbineUserGroupRolesJoinTurbineGroup
protected <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 recordscon
- 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
-
retrieveAttachedObjects
public <T extends TurbineUserGroupRoleModelPeerMapper> void retrieveAttachedObjects(Connection con, Boolean lazy, List<T> ugrs) throws DataBackendException, org.apache.torque.TorqueException Beschreibung aus Klasse kopiert:TorqueAbstractTurbineTurbineSecurityEntityDefault
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)
- Angegeben von:
retrieveAttachedObjects
in KlasseTorqueAbstractTurbineTurbineSecurityEntityDefault
- Parameter:
con
- A database connectionlazy
- iftrue
, fetches objects lazilyugrs
- The custom TurbineUserGroupRole set- Löst aus:
DataBackendException
- if data connection or user information (table objects) not foundorg.apache.torque.TorqueException
- Siehe auch:
-
retrieveAttachedObjects
public void retrieveAttachedObjects(Connection con, Boolean lazy) throws org.apache.torque.TorqueException, DataBackendException Beschreibung aus Klasse kopiert:TorqueAbstractSecurityEntity
Retrieve attached objects such as users, permissions, ...- Angegeben von:
retrieveAttachedObjects
in KlasseTorqueAbstractSecurityEntity
- Parameter:
con
- A database connectionlazy
- iftrue
, may load some or all relationships later- Löst aus:
org.apache.torque.TorqueException
- database not found exceptionDataBackendException
-
retrieveAttachedObjects
public void retrieveAttachedObjects(Connection con) throws DataBackendException, org.apache.torque.TorqueException Beschreibung aus Klasse kopiert:TorqueAbstractSecurityEntity
old contract, lazy is set tofalse
.- Angegeben von:
retrieveAttachedObjects
in KlasseTorqueAbstractSecurityEntity
- Parameter:
con
- A database connection- Löst aus:
DataBackendException
- wrapper exception: user information not found exceptionorg.apache.torque.TorqueException
-
update
Beschreibung aus Klasse kopiert:TorqueAbstractSecurityEntity
Update this instance to the database with all dependent objects- Angegeben von:
update
in KlasseTorqueAbstractSecurityEntity
- Parameter:
con
- A database connection- Löst aus:
org.apache.torque.TorqueException
- database not found exception
-
delete
public void delete() throws org.apache.torque.TorqueExceptionBeschreibung aus Klasse kopiert:TorqueAbstractSecurityEntity
Delete this entity- Angegeben von:
delete
in KlasseTorqueAbstractSecurityEntity
- Löst aus:
org.apache.torque.TorqueException
- if any database error occurs if any database operation fails
-