Class AccessControlResourceDAO

java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControlResourceDAO
All Implemented Interfaces:
IAccessControlResourceDAO

@ApplicationScoped public class AccessControlResourceDAO extends Object implements IAccessControlResourceDAO
This class provides Data Access methods for AccessControlResource objects
  • Constructor Details

    • AccessControlResourceDAO

      public AccessControlResourceDAO()
  • Method Details

    • 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, 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
    • deleteByAccessControl

      public void deleteByAccessControl(int nIdAccessControl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IAccessControlResourceDAO
      Delete a record from the table
      Specified by:
      deleteByAccessControl in interface IAccessControlResourceDAO
      plugin - the Plugin
    • findByResource

      public int findByResource(int nIdResource, 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