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