Class AccessControlResourceHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void create​(AccessControlResource accessControlResource)
      Create an instance of the accessControlResource class
      static int findByResource​(int nIdResource, java.lang.String strResourceType)
      load a record from the table
      static void removeByAccessControl​(int nIdAccessControl)
      Delete a record from the table
      static void removeByResource​(int nIdResource, java.lang.String strResourceType)
      Delete a record from the table
      • Methods inherited from class java.lang.Object

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

      • 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,
                                            java.lang.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,
                                         java.lang.String strResourceType)
        load a record from the table
        Parameters:
        nIdResource - The identifier of the resource
        strResourceType - The type of the resource