Class StepService
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.service.StepService
-
public final class StepService extends Object
Service dedicated to management of formDisplay
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StepJsonDatagetStepTemplateData(int idTemplate)IStepTemplateProvidergetStepTemplateProvider()voidremoveStep(int nIdStep)Remove a given Step and the all its formDisplays.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
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public IStepTemplateProvider getStepTemplateProvider()
-
getStepTemplateData
public StepJsonData getStepTemplateData(int idTemplate)
-
-