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:
  • Konstruktordetails

    • TorqueAbstractSecurityEntity

      public TorqueAbstractSecurityEntity()
  • Methodendetails

    • getEntityId

      public abstract Integer getEntityId()
      Get a numeric entity id
      Gibt zurück:
      numeric id of this entity
    • setEntityId

      public abstract void setEntityId(Integer id) throws org.apache.torque.TorqueException
      Set a numeric entity id
      Parameter:
      id - numeric id of this entity
      Löst aus:
      org.apache.torque.TorqueException - database not found exception
    • getEntityName

      public abstract String getEntityName()
      Get the name of the entity
      Gibt zurück:
      name of this entity
    • setEntityName

      public abstract void setEntityName(String name)
      Set the name of the entity
      Parameter:
      name - the name of the entity
    • retrieveAttachedObjects

      public 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
    • retrieveAttachedObjects

      public abstract void retrieveAttachedObjects(Connection con) throws DataBackendException, org.apache.torque.TorqueException
      old contract, lazy is set to false.
      Parameter:
      con - A database connection
      Löst aus:
      DataBackendException - wrapper exception: user information not found exception
      org.apache.torque.TorqueException
    • update

      public abstract void update(Connection con) throws org.apache.torque.TorqueException
      Update 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
    • delete

      public abstract void delete() throws org.apache.torque.TorqueException
      Delete this entity
      Löst aus:
      org.apache.torque.TorqueException - if any database error occurs if any database operation fails
    • getId

      public Object getId()
      Angegeben von:
      getId in Schnittstelle SecurityEntity
      Siehe auch:
    • setId

      public void setId(Object id)
      Angegeben von:
      setId in Schnittstelle SecurityEntity
      Siehe auch:
    • getName

      public String getName()
      Angegeben von:
      getName in Schnittstelle SecurityEntity
      Siehe auch:
    • setName

      public void setName(String name)
      Angegeben von:
      setName in Schnittstelle SecurityEntity
      Siehe auch: