Class FormListTemplateBuilder

java.lang.Object
fr.paris.lutece.plugins.forms.web.form.multiview.util.FormListTemplateBuilder

public final class FormListTemplateBuilder extends Object
Builder class for the template of FormColumnDisplay and FormFilterDisplay objects
  • Method Details

    • buildTableTemplate

      public static String buildTableTemplate(List<IFormColumnDisplay> listFormColumnDisplay, List<FormResponseItem> listFormResponseItem, Locale locale, String strRedirectionDetailsBaseUrl, String strSortUrl, List<Integer> listIdFormResponsePaginated)
      Build the template of the table of all form response
      Parameters:
      listFormColumnDisplay - The list of all FormColumnDisplay objects to build the global template of the form columns from
      listFormResponseItem - The list of all FormResponseItem used to build the tab with all form responses
      locale - The locale to used for build template
      strRedirectionDetailsBaseUrl - The base url to use for the redirection on the details page
      strSortUrl - The url to use for sort a column
      Returns:
      the global template of all FormColumnDisplay objects