Class FormsUtils

java.lang.Object
fr.paris.lutece.plugins.forms.util.FormsUtils

public class FormsUtils extends Object
Utilities for forms
  • Method Details

    • getInactiveBypassToken

      public static String getInactiveBypassToken(Form form, String strTimestamp)
      Get a token to bypass the inactive state of the form
      Parameters:
      form - the form
      strTimestamp - 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 steps
      listTransitions - the list of transitions
      Returns:
      the list of given steps based on given transitions