Class OptionalQuestionIndexationHome


  • public final class OptionalQuestionIndexationHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for OptionalQuestionIndexation objects
    • Method Detail

      • create

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

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

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

        public static OptionalQuestionIndexation findByPrimaryKey​(int nKey)
        Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameter
        Parameters:
        nKey - The optionalQuestionIndexation primary key
        Returns:
        an instance of OptionalQuestionIndexation
      • findByQuestionId

        public static OptionalQuestionIndexation findByQuestionId​(int nQuestionId)
        Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameter
        Parameters:
        nKey - The optionalQuestionIndexation primary key
        Returns:
        an instance of OptionalQuestionIndexation
      • getOptionalQuestionIndexationsList

        public static java.util.List<OptionalQuestionIndexation> getOptionalQuestionIndexationsList()
        Load the data of all the optionalQuestionIndexation objects and returns them as a list
        Returns:
        the list which contains the data of all the optionalQuestionIndexation objects
      • getIdOptionalQuestionIndexationsList

        public static java.util.List<java.lang.Integer> getIdOptionalQuestionIndexationsList()
        Load the id of all the optionalQuestionIndexation objects and returns them as a list
        Returns:
        the list which contains the id of all the optionalQuestionIndexation objects
      • getOptionalQuestionIndexationListByFormId

        public static java.util.List<OptionalQuestionIndexation> getOptionalQuestionIndexationListByFormId​(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