Class AccessControlResourceHome
java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControlResourceHome
This class provides instances management methods (create, find, ...) for AccessControlResource objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(AccessControlResource accessControlResource) Create an instance of the accessControlResource classstatic intfindByResource(int nIdResource, String strResourceType) load a record from the tablestatic voidremoveByAccessControl(int nIdAccessControl) Delete a record from the tablestatic voidremoveByResource(int nIdResource, String strResourceType) Delete a record from the table
-
Method Details
-
create
Create an instance of the accessControlResource class- Parameters:
accessControlResource- The instance of the AccessControlResource which contains the informations to store
-
removeByResource
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
load a record from the table- Parameters:
nIdResource- The identifier of the resourcestrResourceType- The type of the resource
-