Klasse TorqueDynamicRoleManagerImpl

Alle implementierten Schnittstellen:
Serializable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, RoleManager, LazyLoadable

public class TorqueDynamicRoleManagerImpl extends TorqueAbstractRoleManager
This implementation persists to a database via Torque.
Version:
$Id:$
Autor:
Thomas Vandahl
Siehe auch:
  • Konstruktordetails

    • TorqueDynamicRoleManagerImpl

      public TorqueDynamicRoleManagerImpl()
  • Methodendetails

    • doSelectAllRoles

      protected <T extends Role> List<T> doSelectAllRoles(Connection con) throws org.apache.torque.TorqueException
      Beschreibung aus Klasse kopiert: TorqueAbstractRoleManager
      Get all specialized Roles
      Angegeben von:
      doSelectAllRoles in Klasse TorqueAbstractRoleManager
      Parameter:
      con - a database connection
      Gibt zurück:
      a List of Role instances
      Löst aus:
      org.apache.torque.TorqueException - if any database error occurs
    • doSelectById

      protected <T extends Role> T doSelectById(Integer id, Connection con) throws org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException, org.apache.torque.TorqueException
      Beschreibung aus Klasse kopiert: TorqueAbstractRoleManager
      Get a specialized Role by id
      Angegeben von:
      doSelectById in Klasse TorqueAbstractRoleManager
      Parameter:
      id - the id of the group
      con - a database connection
      Gibt zurück:
      a Role instance
      Löst aus:
      org.apache.torque.NoRowsException - if no such group exists
      org.apache.torque.TooManyRowsException - if multiple groups with the given id exist
      org.apache.torque.TorqueException - if any database error occurs if any other database error occurs
    • doSelectByName

      protected <T extends Role> T doSelectByName(String name, Connection con) throws org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException, org.apache.torque.TorqueException
      Beschreibung aus Klasse kopiert: TorqueAbstractRoleManager
      Get a specialized Role by name
      Angegeben von:
      doSelectByName in Klasse TorqueAbstractRoleManager
      Parameter:
      name - the name of the group
      con - a database connection
      Gibt zurück:
      a Role instance
      Löst aus:
      org.apache.torque.NoRowsException - if no such group exists
      org.apache.torque.TooManyRowsException - if multiple groups with the given name exist
      org.apache.torque.TorqueException - if any database error occurs if any other database error occurs