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 Optional<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 optionalQuestionIndexation whose identifier is specified in parameter
      Parameters:
      nKey - The optionalQuestionIndexation primary key
      Returns:
      an instance of OptionalQuestionIndexation
    • 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(Map<String,String> mapFilterCriteria, String strColumnToOrder, String strSortMode)
      Load the id of all the optionalStatusIndexation objects and returns them as a list
      Parameters:
      mapFilterCriteria - contains search bar names/values inputs
      strColumnToOrder - contains the column name to use for orderBy statement in case of sorting request (must be null)
      strSortMode - contains the sortMode in case of sorting request : ASC or DESC (must be null)
      Returns:
      the list which contains the id of all the project objects
    • getOptionalStatusIndexationsReferenceList

      public static fr.paris.lutece.util.ReferenceList getOptionalStatusIndexationsReferenceList()
      Load the data of all the optionalStatusIndexation objects and returns them as a referenceList
      Returns:
      the referenceList which contains the data of all the optionalStatusIndexation objects
    • getOptionalStatusIndexationsListByIds

      public static List<OptionalStatusIndexation> getOptionalStatusIndexationsListByIds(List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Parameters:
      listIds - liste of ids
      Returns:
      the list which contains the data of all the avant objects
    • getOptionalStatusIndexationListByFormId

      public static List<OptionalStatusIndexation> getOptionalStatusIndexationListByFormId(int nFormId)
      Load the data of all the optionalQuestionIndexation objects and returns them as a referenceList
      Returns:
      the referenceList which contains the data of all the optionalQuestionIndexation objects