Class AccessControlResourceHome

java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControlResourceHome

public final class AccessControlResourceHome extends Object
This class provides instances management methods (create, find, ...) for AccessControlResource objects
  • Method Details

    • create

      public static void create(AccessControlResource accessControlResource)
      Create an instance of the accessControlResource class
      Parameters:
      accessControlResource - The instance of the AccessControlResource which contains the informations to store
    • removeByResource

      public static void removeByResource(int nIdResource, String strResourceType)
      Delete a record from the table
      Parameters:
      nIdResource - The identifier of the resource
      strResourceType - The type of the resource
    • removeByAccessControl

      public static void removeByAccessControl(int nIdAccessControl)
      Delete a record from the table
      Parameters:
      nIdResource - The identifier of the access control
    • findByResource

      public static int findByResource(int nIdResource, String strResourceType)
      load a record from the table
      Parameters:
      nIdResource - The identifier of the resource
      strResourceType - The type of the resource