Klasse TorqueAbstractSecurityEntity
java.lang.Object
org.apache.fulcrum.security.torque.security.TorqueAbstractSecurityEntity
- Alle implementierten Schnittstellen:
- Serializable,- SecurityEntity,- org.apache.torque.om.ObjectModel,- org.apache.torque.om.Persistent
- Bekannte direkte Unterklassen:
- DefaultAbstractTurbinePermission,- FulcrumAbstractTurbinePermission,- TorqueAbstractBasicGroup,- TorqueAbstractBasicUser,- TorqueAbstractDynamicGroup,- TorqueAbstractDynamicPermission,- TorqueAbstractDynamicRole,- TorqueAbstractDynamicUser,- TorqueAbstractTurbineTurbineSecurityEntity
public abstract class TorqueAbstractSecurityEntity
extends Object
implements SecurityEntity, Serializable, org.apache.torque.om.Persistent
This abstract class provides the SecurityInterface to the managers.
- Version:
- $Id:$
- Autor:
- Thomas Vandahl
- Siehe auch:
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungabstract voiddelete()Delete this entityabstract IntegerGet a numeric entity idabstract StringGet the name of the entitygetId()getName()abstract voidold contract, lazy is set tofalse.abstract voidretrieveAttachedObjects(Connection con, Boolean lazy) Retrieve attached objects such as users, permissions, ...abstract voidsetEntityId(Integer id) Set a numeric entity idabstract voidsetEntityName(String name) Set the name of the entityvoidvoidabstract voidupdate(Connection con) Update this instance to the database with all dependent objectsVon 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, save
- 
Konstruktordetails- 
TorqueAbstractSecurityEntitypublic TorqueAbstractSecurityEntity()
 
- 
- 
Methodendetails- 
getEntityIdGet a numeric entity id- Gibt zurück:
- numeric id of this entity
 
- 
setEntityIdSet a numeric entity id- Parameter:
- id- numeric id of this entity
- Löst aus:
- org.apache.torque.TorqueException- database not found exception
 
- 
getEntityNameGet the name of the entity- Gibt zurück:
- name of this entity
 
- 
setEntityNameSet the name of the entity- Parameter:
- name- the name of the entity
 
- 
retrieveAttachedObjectspublic abstract void retrieveAttachedObjects(Connection con, Boolean lazy) throws DataBackendException, org.apache.torque.TorqueException Retrieve attached objects such as users, permissions, ...- 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 abstract void retrieveAttachedObjects(Connection con) throws DataBackendException, org.apache.torque.TorqueException old contract, lazy is set tofalse.- Parameter:
- con- A database connection
- Löst aus:
- DataBackendException- wrapper exception: user information not found exception
- org.apache.torque.TorqueException
 
- 
updateUpdate this instance to the database with all dependent objects- Parameter:
- con- A database connection
- Löst aus:
- org.apache.torque.TorqueException- database not found exception
 
- 
deletepublic abstract void delete() throws org.apache.torque.TorqueExceptionDelete this entity- Löst aus:
- org.apache.torque.TorqueException- if any database error occurs if any database operation fails
 
- 
getId- Angegeben von:
- getIdin Schnittstelle- SecurityEntity
- Siehe auch:
 
- 
setId- Angegeben von:
- setIdin Schnittstelle- SecurityEntity
- Siehe auch:
 
- 
getName- Angegeben von:
- getNamein Schnittstelle- SecurityEntity
- Siehe auch:
 
- 
setName- Angegeben von:
- setNamein Schnittstelle- SecurityEntity
- Siehe auch:
 
 
-