Class AccessControllerHome

java.lang.Object
fr.paris.lutece.plugins.accesscontrol.business.AccessControllerHome

public final class AccessControllerHome extends Object
This class provides instances management methods (create, find, ...) for AccessController objects
  • Method Details

    • 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 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 List<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 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