Class StepService
java.lang.Object
fr.paris.lutece.plugins.forms.service.StepService
Service dedicated to management of formDisplay
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetStepTemplateData(int idTemplate) voidremoveStep(int nIdStep) Remove a given Step and the all its formDisplays.sortStepsWithTransitions(List<Step> listSteps, List<Transition> listTransitions) Return a list of steps based on given step list and transition between steps list
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Method Details
-
removeStep
public void removeStep(int nIdStep) Remove a given Step and the all its formDisplays. The responses, group/question associated to the displays will be deleted. All the descendants of the displays will also be removed- Parameters:
nIdStep- The Step Id
-
sortStepsWithTransitions
public static List<Step> sortStepsWithTransitions(List<Step> listSteps, List<Transition> listTransitions) Return a list of steps based on given step list and transition between steps list- Parameters:
listSteps- the list of stepslistTransitions- the list of transitions- Returns:
- the list of given steps based on given transitions
-
getStepTemplateProvider
-
getStepTemplateData
-