Class AccessControlResourceDAO

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccessControlResourceDAO

        public AccessControlResourceDAO()
    • Method Detail

      • insert

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

        public void deleteByResource​(int nIdResource,
                                     java.lang.String strResourceType,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IAccessControlResourceDAO
        Delete a record from the table
        Specified by:
        deleteByResource in interface IAccessControlResourceDAO
        Parameters:
        nIdResource - The identifier of the resource
        strResourceType - The type of the resource
        plugin - the Plugin
      • findByResource

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