Class AccessControllerDAO

  • All Implemented Interfaces:
    IAccessControllerDAO

    public final class AccessControllerDAO
    extends java.lang.Object
    implements IAccessControllerDAO
    This class provides Data Access methods for AccessController 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​(AccessController accessController, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      AccessController load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<AccessController> selectAccessControllersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the accessController objects and returns them as a list
      java.util.List<AccessController> selectAccessControllersListByAccessControl​(int idAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the accessController objects of an accesscontrol and returns them as a list
      fr.paris.lutece.util.ReferenceList selectAccessControllersReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the accessController objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdAccessControllersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the accessController objects and returns them as a list
      void store​(AccessController accessController, 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

      • AccessControllerDAO

        public AccessControllerDAO()
    • Method Detail

      • insert

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

        public AccessController load​(int nKey,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IAccessControllerDAO
        Parameters:
        nKey - The identifier of the accessController
        plugin - the Plugin
        Returns:
        The instance of the accessController
      • 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 IAccessControllerDAO
        Parameters:
        nKey - The identifier of the AccessController to delete
        plugin - the Plugin
      • store

        public void store​(AccessController accessController,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IAccessControllerDAO
        Parameters:
        accessController - the reference of the AccessController
        plugin - the Plugin
      • selectAccessControllersList

        public java.util.List<AccessController> selectAccessControllersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the accessController objects and returns them as a list
        Specified by:
        selectAccessControllersList in interface IAccessControllerDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the accessController objects
      • selectIdAccessControllersList

        public java.util.List<java.lang.Integer> selectIdAccessControllersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the accessController objects and returns them as a list
        Specified by:
        selectIdAccessControllersList in interface IAccessControllerDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the accessController objects
      • selectAccessControllersReferenceList

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

        public java.util.List<AccessController> selectAccessControllersListByAccessControl​(int idAccessControl,
                                                                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IAccessControllerDAO
        Load the data of all the accessController objects of an accesscontrol and returns them as a list
        Specified by:
        selectAccessControllersListByAccessControl in interface IAccessControllerDAO
        plugin - the Plugin
        Returns:
        The list which contains the data of all the accessController objects