Class AccessControlHome
java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControlHome
This class provides instances management methods (create, find, ...) for AccessControl objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccessControlcreate(AccessControl accessControl) Create an instance of the accessControl classstatic AccessControlfindByPrimaryKey(int nKey) Returns an instance of a accessControl whose identifier is specified in parameterstatic List<AccessControl>Load the data of all the accessController objects and returns them as a liststatic List<AccessControl>Load the data of all the accessControl objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the accessControl objects and returns them as a referenceListLoad the id of all the accessControl objects and returns them as a liststatic voidremove(int nKey) Remove the accessControl whose identifier is specified in parameterstatic AccessControlupdate(AccessControl accessControl) Update of the accessControl which is specified in parameter
-
Method Details
-
create
Create an instance of the accessControl class- Parameters:
accessControl- The instance of the AccessControl which contains the informations to store- Returns:
- The instance of accessControl which has been created with its primary key.
-
update
Update of the accessControl which is specified in parameter- Parameters:
accessControl- The instance of the AccessControl which contains the data to store- Returns:
- The instance of the accessControl which has been updated
-
remove
public static void remove(int nKey) Remove the accessControl whose identifier is specified in parameter- Parameters:
nKey- The accessControl Id
-
findByPrimaryKey
Returns an instance of a accessControl whose identifier is specified in parameter- Parameters:
nKey- The accessControl primary key- Returns:
- an instance of AccessControl
-
getAccessControlsList
Load the data of all the accessControl objects and returns them as a list- Returns:
- the list which contains the data of all the accessControl objects
-
getIdAccessControlsList
Load the id of all the accessControl objects and returns them as a list- Returns:
- the list which contains the id of all the accessControl objects
-
getAccessControlsReferenceList
public static fr.paris.lutece.util.ReferenceList getAccessControlsReferenceList()Load the data of all the accessControl objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the accessControl objects
-
getAccessControllersListByFilter
Load the data of all the accessController objects and returns them as a list- Parameters:
filter-- Returns:
- the list which contains the data of all the accessController objects
-