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