Class ReferencedFormsResolver

java.lang.Object
fr.paris.lutece.plugins.forms.web.admin.ReferencedFormsResolver

public final class ReferencedFormsResolver extends Object
Finds the forms referenced by the parameters of a request of the back office form designer (form, step, question, group, display, entry, transition, control), so that the controller can check the rights of the user on each of them whatever the identifier it reads
  • Method Details

    • getReferencedFormIds

      public static Set<Integer> getReferencedFormIds(jakarta.servlet.http.HttpServletRequest request)
      Get the identifiers of the forms referenced by the parameters of the request. An identifier that is not a number or that matches no resource is ignored: the controller handles it.
      Parameters:
      request - the request
      Returns:
      the identifiers of the forms