Klasse TorqueAbstractBasicUser
java.lang.Object
org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
org.apache.fulcrum.security.torque.basic.TorqueAbstractBasicUser
- Alle implementierten Schnittstellen:
Serializable
,SecurityEntity
,User
,BasicUser
,org.apache.torque.om.ObjectModel
,org.apache.torque.om.Persistent
- Bekannte direkte Unterklassen:
BaseTorqueBasicUser
public abstract class TorqueAbstractBasicUser
extends TorqueAbstractSecurityEntity
implements BasicUser
This abstract class provides the SecurityInterface to the managers.
- Version:
- $Id:$
- Autor:
- Thomas Vandahl
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
void
delete()
Delete this entityGet the name of the connnection pool associated to this objectprotected List<TorqueBasicUserGroup>
getTorqueBasicUserGroupsJoinTorqueBasicGroup
(org.apache.torque.criteria.Criteria criteria, Connection con) Forward reference to generated code Get a list of association objects, pre-populated with their TorqueBasicGroup objects.void
removeGroup
(Group group) void
Retrieve attached objects such as users, permissions,....void
retrieveAttachedObjects
(Connection con, Boolean lazy) Retrieve attached objects such as users, permissions,....void
<T extends Group>
voidsetGroupsAsSet
(Set<T> groups) void
update
(Connection con) Update this instance to the database with all dependent objectsVon 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.entity.SecurityEntity
getId, getName, setId, setName
Von Schnittstelle geerbte Methoden org.apache.fulcrum.security.entity.User
getPassword, setPassword
-
Konstruktordetails
-
TorqueAbstractBasicUser
public TorqueAbstractBasicUser()
-
-
Methodendetails
-
getTorqueBasicUserGroupsJoinTorqueBasicGroup
protected List<TorqueBasicUserGroup> getTorqueBasicUserGroupsJoinTorqueBasicGroup(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException Forward reference to generated code Get a list of association objects, pre-populated with their TorqueBasicGroup objects.- Parameter:
criteria
- Criteria to define the selection of recordscon
- a database connection- Gibt zurück:
- a list of User/Group relations
- Löst aus:
org.apache.torque.TorqueException
- if any database error occurs
-
addGroup
-
getGroups
-
getGroupsAsSet
- Angegeben von:
getGroupsAsSet
in SchnittstelleBasicUser
- Siehe auch:
-
removeGroup
- Angegeben von:
removeGroup
in SchnittstelleBasicUser
- Siehe auch:
-
setGroups
-
setGroupsAsSet
- Angegeben von:
setGroupsAsSet
in SchnittstelleBasicUser
- Siehe auch:
-
retrieveAttachedObjects
Retrieve attached objects such as users, permissions,....- Angegeben von:
retrieveAttachedObjects
in KlasseTorqueAbstractSecurityEntity
- Parameter:
con
- A database connection- Löst aus:
DataBackendException
- wrapper exception: user information not found exception
-
retrieveAttachedObjects
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:
DataBackendException
-
update
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
-
getDatabaseName
Get the name of the connnection pool associated to this object- Gibt zurück:
- the logical Torque database name
-
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- Siehe auch:
-