Class FormResponseStepHome


  • public final class FormResponseStepHome
    extends Object
    This class provides instances management methods (create, find, ...) for FormResponseStep objects
    • Method Detail

      • create

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

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

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

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

        public static void removeByFormResponse​(int nIdFormResponse)
        Remove all the formResponse linked to a given Form
        Parameters:
        nIdFormResponse - The form Identifier
      • removeByStep

        public static void removeByStep​(int nIdStep)
        Removes all the formResponse linked to a given step
        Parameters:
        nIdStep - The step id
      • findStepsByFormResponse

        public static List<FormResponseStep> findStepsByFormResponse​(int nIdFormResponse)
        Load the order step id list by FormResponse id
        Parameters:
        nIdFormResponse - The form Identifier
        Returns:
        the list which contains the data of all the formResponseStep objects
      • findStepsByFormResponsePartial

        public static List<FormResponseStep> findStepsByFormResponsePartial​(int nIdFormResponse)
        Load the order step id list by FormResponse id
        Doesn't load Steps and FormQuestionResponses
        Parameters:
        nIdFormResponse - The form Identifier
        Returns:
        the list which contains the data of all the formResponseStep objects