Class FormsUtils
java.lang.Object
fr.paris.lutece.plugins.forms.util.FormsUtils
Utilities for forms
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetInactiveBypassToken(Form form, String strTimestamp) Get a token to bypass the inactive state of the formsortStepsWithTransitions(List<Step> listSteps, List<Transition> listTransitions) Return a list of steps based on given step list and transition between steps list
-
Method Details
-
getInactiveBypassToken
Get a token to bypass the inactive state of the form- Parameters:
form- the formstrTimestamp- the timestamp for the start of the bypass period- Returns:
- a token
-
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
-