Class AccessControlHome

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

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

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