Class TorqueDynamicGroupManagerImpl

All Implemented Interfaces:
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, GroupManager, LazyLoadable

public class TorqueDynamicGroupManagerImpl extends TorqueAbstractGroupManager
This implementation persists to a database via Torque.
Version:
$Id:$
Author:
Thomas Vandahl
See Also:
  • Constructor Details

    • TorqueDynamicGroupManagerImpl

      public TorqueDynamicGroupManagerImpl()
  • Method Details

    • doSelectAllGroups

      protected <T extends Group> List<T> doSelectAllGroups(Connection con) throws org.apache.torque.TorqueException
      Description copied from class: TorqueAbstractGroupManager
      Get all specialized Groups
      Specified by:
      doSelectAllGroups in class TorqueAbstractGroupManager
      Parameters:
      con - a database connection
      Returns:
      a List of Group instances
      Throws:
      org.apache.torque.TorqueException - if any database error occurs
    • doSelectById

      protected <T extends Group> T doSelectById(Integer id, Connection con) throws org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException, org.apache.torque.TorqueException
      Description copied from class: TorqueAbstractGroupManager
      Get a specialized Group by id
      Specified by:
      doSelectById in class TorqueAbstractGroupManager
      Parameters:
      id - the id of the group
      con - a database connection
      Returns:
      a Group instance
      Throws:
      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 Group> T doSelectByName(String name, Connection con) throws org.apache.torque.NoRowsException, org.apache.torque.TooManyRowsException, org.apache.torque.TorqueException
      Description copied from class: TorqueAbstractGroupManager
      Get a specialized Group by name
      Specified by:
      doSelectByName in class TorqueAbstractGroupManager
      Parameters:
      name - the name of the group
      con - a database connection
      Returns:
      a Group instance
      Throws:
      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