Class FormResponseStepHome
java.lang.Object
fr.paris.lutece.plugins.forms.business.FormResponseStepHome
This class provides instances management methods (create, find, ...) for FormResponseStep objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormResponseStepcreate(FormResponseStep formResponseStep) Create an instance of the formResponseStep classstatic FormResponseStepfindByPrimaryKey(int nKey) Returns an instance of a formResponseStep whose identifier is specified in parameterstatic List<FormResponseStep>findStepsByFormResponse(int nIdFormResponse) Load the order step id list by FormResponse idstatic List<FormResponseStep>findStepsByFormResponsePartial(int nIdFormResponse) Load the order step id list by FormResponse id
Doesn't load Steps and FormQuestionResponsesstatic voidremove(int nKey) Remove the formResponseStep whose identifier is specified in parameterstatic voidremoveByFormResponse(int nIdFormResponse) Remove all the formResponse linked to a given Formstatic voidremoveByStep(int nIdStep) Removes all the formResponse linked to a given stepstatic FormResponseStepupdate(FormResponseStep formResponseStep) Update of the formResponseStep which is specified in parameter
-
Method Details
-
create
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
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
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
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
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
-