Interface IAccessControlDAO

  • All Known Implementing Classes:
    AccessControlDAO

    public interface IAccessControlDAO
    IAccessControlDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • insert

        void insert​(AccessControl accessControl,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        accessControl - instance of the AccessControl object to insert
        plugin - the Plugin
      • store

        void store​(AccessControl accessControl,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        accessControl - the reference of the AccessControl
        plugin - the Plugin
      • delete

        void delete​(int nKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the AccessControl to delete
        plugin - the Plugin
      • load

        AccessControl load​(int nKey,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the accessControl
        plugin - the Plugin
        Returns:
        The instance of the accessControl
      • selectAccessControlsList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the accessControl objects
      • selectIdAccessControlsList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the accessControl objects
      • selectAccessControlsReferenceList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the accessControl objects
      • selectAccessControlByFilter

        java.util.List<AccessControl> selectAccessControlByFilter​(AccessControlFilter filter)
        select AccessControl by Filter
        Parameters:
        filter - the filter
        Returns:
        a list of AccessControl