Class AccessControlResourceHome
- java.lang.Object
-
- fr.paris.lutece.plugins.accesscontrol.business.AccessControlResourceHome
-
public final class AccessControlResourceHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for AccessControlResource objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreate(AccessControlResource accessControlResource)Create an instance of the accessControlResource classstatic intfindByResource(int nIdResource, java.lang.String strResourceType)load a record from the tablestatic voidremoveByAccessControl(int nIdAccessControl)Delete a record from the tablestatic voidremoveByResource(int nIdResource, java.lang.String strResourceType)Delete a record from the table
-
-
-
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 resourcestrResourceType- 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 resourcestrResourceType- The type of the resource
-
-