Class OptionalStatusIndexationHome

java.lang.Object
fr.paris.lutece.plugins.elasticdata.modules.forms.business.OptionalStatusIndexationHome

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

    • create

      public static OptionalStatusIndexation create(OptionalStatusIndexation optionalStatusIndexation)
      Create an instance of the optionalStatusIndexation class
      Parameters:
      optionalStatusIndexation - The instance of the OptionalStatusIndexation which contains the informations to store
      Returns:
      The instance of optionalStatusIndexation which has been created with its primary key.
    • update

      public static OptionalStatusIndexation update(OptionalStatusIndexation optionalStatusIndexation)
      Update of the optionalStatusIndexation which is specified in parameter
      Parameters:
      optionalStatusIndexation - The instance of the OptionalStatusIndexation which contains the data to store
      Returns:
      The instance of the optionalStatusIndexation which has been updated
    • remove

      public static void remove(int nKey)
      Remove the optionalStatusIndexation whose identifier is specified in parameter
      Parameters:
      nKey - The optionalStatusIndexation Id
    • findByPrimaryKey

      public static OptionalStatusIndexation findByPrimaryKey(int nKey)
      Returns an instance of a optionalStatusIndexation whose identifier is specified in parameter
      Parameters:
      nKey - The optionalStatusIndexation primary key
      Returns:
      an instance of OptionalStatusIndexation
    • findByStatusId

      public static OptionalStatusIndexation findByStatusId(int nStatusId)
      Returns an instance of a optionalStatusIndexation whose workflow status identifier is specified in parameter
      Parameters:
      nStatusId - The workflow status identifier
      Returns:
      an instance of OptionalStatusIndexation
    • getOptionalStatusIndexationsList

      public static List<OptionalStatusIndexation> getOptionalStatusIndexationsList()
      Load the data of all the optionalStatusIndexation objects and returns them as a list
      Returns:
      the list which contains the data of all the optionalStatusIndexation objects
    • getIdOptionalStatusIndexationsList

      public static List<Integer> getIdOptionalStatusIndexationsList()
      Load the id of all the optionalStatusIndexation objects and returns them as a list
      Returns:
      the list which contains the id of all the optionalStatusIndexation objects
    • getOptionalStatusIndexationListByFormId

      public static List<OptionalStatusIndexation> getOptionalStatusIndexationListByFormId(int nFormId)
      Load the data of all the optionalStatusIndexation objects of a given form and returns them as a list
      Parameters:
      nFormId - The form identifier
      Returns:
      the list which contains the data of all the optionalStatusIndexation objects