Klasse TorqueAbstractBasicGroup
java.lang.Object
org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
org.apache.fulcrum.security.torque.basic.TorqueAbstractBasicGroup
- Alle implementierten Schnittstellen:
- Serializable,- Group,- SecurityEntity,- BasicGroup,- org.apache.torque.om.ObjectModel,- org.apache.torque.om.Persistent
- Bekannte direkte Unterklassen:
- BaseTorqueBasicGroup
public abstract class TorqueAbstractBasicGroup
extends TorqueAbstractSecurityEntity
implements BasicGroup
This abstract class provides the SecurityInterface to the managers.
- Version:
- $Id:$
- Autor:
- Thomas Vandahl
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungvoidvoiddelete()Delete this entityGet the name of the connection pool associated to this objectprotected List<TorqueBasicUserGroup>getTorqueBasicUserGroupsJoinTorqueBasicUser(org.apache.torque.criteria.Criteria criteria, Connection con) Forward reference to generated code Get a list of association objects, pre-populated with their TorqueBasicUser objects.getUsers()voidremoveUser(User user) voidold contract, lazy is set tofalse.voidretrieveAttachedObjects(Connection con, Boolean lazy) Retrieve attached objects such as users, permissions,....void<T extends User>
 voidsetUsersAsSet(Set<T> users) voidupdate(Connection con) Update this instance to the database with all dependent objectsVon 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.entity.SecurityEntitygetId, getName, setId, setName
- 
Konstruktordetails- 
TorqueAbstractBasicGrouppublic TorqueAbstractBasicGroup()
 
- 
- 
Methodendetails- 
getTorqueBasicUserGroupsJoinTorqueBasicUserprotected List<TorqueBasicUserGroup> getTorqueBasicUserGroupsJoinTorqueBasicUser(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 TorqueBasicUser objects.- Parameter:
- criteria- Criteria to define the selection of records
- con- a database connection
- Gibt zurück:
- a list of User/Group relations
- Löst aus:
- org.apache.torque.TorqueException- if any database error occurs
 
- 
addUser- Angegeben von:
- addUserin Schnittstelle- BasicGroup
- Siehe auch:
 
- 
getUsers- Angegeben von:
- getUsersin Schnittstelle- BasicGroup
- Siehe auch:
 
- 
getUsersAsSet- Angegeben von:
- getUsersAsSetin Schnittstelle- BasicGroup
- Siehe auch:
 
- 
removeUser- Angegeben von:
- removeUserin Schnittstelle- BasicGroup
- Siehe auch:
 
- 
setUsers- Angegeben von:
- setUsersin Schnittstelle- BasicGroup
- Siehe auch:
 
- 
setUsersAsSet- Angegeben von:
- setUsersAsSetin Schnittstelle- BasicGroup
- Siehe auch:
 
- 
retrieveAttachedObjectsBeschreibung 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
 
- 
retrieveAttachedObjectsRetrieve 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:
- DataBackendException
 
- 
updateUpdate 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
 
- 
getDatabaseNameGet the name of the connection pool associated to this object- Gibt zurück:
- the logical Torque database name
 
- 
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
- Siehe auch:
 
 
-