Class FormListTemplateBuilder


  • public final class FormListTemplateBuilder
    extends java.lang.Object
    Builder class for the template of FormColumnDisplay and FormFilterDisplay objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String buildTableTemplate​(java.util.List<IFormColumnDisplay> listFormColumnDisplay, java.util.List<FormResponseItem> listFormResponseItem, java.util.Locale locale, java.lang.String strRedirectionDetailsBaseUrl, java.lang.String strSortUrl, java.util.List<java.lang.Integer> listIdFormResponsePaginated)
      Build the template of the table of all form response
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • buildTableTemplate

        public static java.lang.String buildTableTemplate​(java.util.List<IFormColumnDisplay> listFormColumnDisplay,
                                                          java.util.List<FormResponseItem> listFormResponseItem,
                                                          java.util.Locale locale,
                                                          java.lang.String strRedirectionDetailsBaseUrl,
                                                          java.lang.String strSortUrl,
                                                          java.util.List<java.lang.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