Class AccessControllerHome
- java.lang.Object
-
- fr.paris.lutece.plugins.accesscontrol.business.AccessControllerHome
-
public final class AccessControllerHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for AccessController objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 java.util.List<AccessController>getAccessControllersList()Load the data of all the accessController objects and returns them as a liststatic java.util.List<AccessController>getAccessControllersListByAccessControlId(int idAccessControl)Load the data of all the accessController objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetAccessControllersReferenceList()Load the data of all the accessController objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdAccessControllersList()Load 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 Detail
-
create
public static AccessController create(AccessController accessController)
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
public static AccessController update(AccessController accessController)
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
public static AccessController findByPrimaryKey(int nKey)
Returns an instance of a accessController whose identifier is specified in parameter- Parameters:
nKey- The accessController primary key- Returns:
- an instance of AccessController
-
getAccessControllersList
public static java.util.List<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
public static java.util.List<java.lang.Integer> 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
public static java.util.List<AccessController> getAccessControllersListByAccessControlId(int idAccessControl)
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
-
-