Interface IAccessControlResourceDAO

  • All Known Implementing Classes:
    AccessControlResourceDAO

    public interface IAccessControlResourceDAO
    IAccessControlResourceDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByAccessControl​(int nIdAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByResource​(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      int findByResource​(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load a record from the table
      void insert​(AccessControlResource accessControlResource, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
    • Method Detail

      • insert

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

        void deleteByResource​(int nIdResource,
                              java.lang.String strResourceType,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdResource - The identifier of the resource
        strResourceType - The type of the resource
        plugin - the Plugin
      • deleteByAccessControl

        void deleteByAccessControl​(int nIdAccessControl,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdResource - The identifier of the access control
        plugin - the Plugin
      • findByResource

        int findByResource​(int nIdResource,
                           java.lang.String strResourceType,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        load a record from the table
        Parameters:
        nIdResource - The identifier of the resource
        strResourceType - The type of the resource
        plugin - the Plugin