Class AccessControlDAO

java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControlDAO
All Implemented Interfaces:
IAccessControlDAO

@ApplicationScoped public class AccessControlDAO extends Object implements IAccessControlDAO
This class provides Data Access methods for AccessControl objects
  • Constructor Details

    • AccessControlDAO

      public AccessControlDAO()
  • Method Details

    • insert

      public void insert(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IAccessControlDAO
      Parameters:
      accessControl - instance of the AccessControl object to insert
      plugin - the Plugin
    • load

      public AccessControl load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IAccessControlDAO
      Parameters:
      nKey - The identifier of the accessControl
      plugin - the Plugin
      Returns:
      The instance of the accessControl
    • delete

      public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Specified by:
      delete in interface IAccessControlDAO
      Parameters:
      nKey - The identifier of the AccessControl to delete
      plugin - the Plugin
    • store

      public void store(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IAccessControlDAO
      Parameters:
      accessControl - the reference of the AccessControl
      plugin - the Plugin
    • selectAccessControlsList

      public List<AccessControl> selectAccessControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the accessControl objects and returns them as a list
      Specified by:
      selectAccessControlsList in interface IAccessControlDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the accessControl objects
    • selectIdAccessControlsList

      public List<Integer> selectIdAccessControlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the accessControl objects and returns them as a list
      Specified by:
      selectIdAccessControlsList in interface IAccessControlDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the accessControl objects
    • selectAccessControlsReferenceList

      public fr.paris.lutece.util.ReferenceList selectAccessControlsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the accessControl objects and returns them as a referenceList
      Specified by:
      selectAccessControlsReferenceList in interface IAccessControlDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the accessControl objects
    • selectAccessControlByFilter

      public List<AccessControl> selectAccessControlByFilter(AccessControlFilter filter)
      Description copied from interface: IAccessControlDAO
      select AccessControl by Filter
      Specified by:
      selectAccessControlByFilter in interface IAccessControlDAO
      Parameters:
      filter - the filter
      Returns:
      a list of AccessControl