Class StepService

java.lang.Object
fr.paris.lutece.plugins.forms.service.StepService

public final class StepService extends Object
Service dedicated to management of formDisplay
  • Field Details

  • 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 steps
      listTransitions - the list of transitions
      Returns:
      the list of given steps based on given transitions
    • getStepTemplateProvider

      public IStepTemplateProvider getStepTemplateProvider()
    • getStepTemplateData

      public StepJsonData getStepTemplateData(int idTemplate)