Class AccessControlDAO

  • All Implemented Interfaces:
    IAccessControlDAO

    public final class AccessControlDAO
    extends java.lang.Object
    implements IAccessControlDAO
    This class provides Data Access methods for AccessControl objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(AccessControl accessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      AccessControl load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<AccessControl> selectAccessControlByFilter​(AccessControlFilter filter)
      select AccessControl by Filter
      java.util.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
      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
      java.util.List<java.lang.Integer> selectIdAccessControlsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the accessControl objects and returns them as a list
      void store​(AccessControl accessControl, 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 Detail

      • AccessControlDAO

        public AccessControlDAO()
    • Method Detail

      • 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 java.util.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 java.util.List<java.lang.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