java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.GroupDAO
All Implemented Interfaces:
IGroupDAO

public final class GroupDAO extends Object implements IGroupDAO
This class provides Data Access methods for Group objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    insert(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    load the data of Group from the table
    selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the list of groups
    selectByFilter(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Return the filtered groups list
    fr.paris.lutece.util.ReferenceList
    selectGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns a list of all the right group
    void
    store(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GroupDAO

      public GroupDAO()
  • Method Details

    • insert

      public void insert(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IGroupDAO
      Parameters:
      group - The Instance of the object Group
      plugin - Plugin
    • load

      public Group load(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load the data of Group from the table
      Specified by:
      load in interface IGroupDAO
      Parameters:
      strGroupKey - The indentifier of the object Group
      plugin - Plugin
      Returns:
      The Instance of the object Group
    • delete

      public void delete(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Specified by:
      delete in interface IGroupDAO
      Parameters:
      strGroupKey - The indentifier of the object Group
      plugin - Plugin
    • store

      public void store(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IGroupDAO
      Parameters:
      group - The instance of the Group to update
      plugin - Plugin
    • selectGroupsList

      public fr.paris.lutece.util.ReferenceList selectGroupsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of all the right group
      Specified by:
      selectGroupsList in interface IGroupDAO
      Parameters:
      plugin - Plugin
      Returns:
      A ReferenceList of group objects
    • selectAll

      public Collection<Group> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of groups
      Specified by:
      selectAll in interface IGroupDAO
      Parameters:
      plugin - Plugin
      Returns:
      The Collection of the Groups
    • selectByFilter

      public List<Group> selectByFilter(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Return the filtered groups list
      Specified by:
      selectByFilter in interface IGroupDAO
      Parameters:
      gFilter - filter
      plugin - Plugin
      Returns:
      List of Group