Class FormListFacade

java.lang.Object
fr.paris.lutece.plugins.forms.business.form.list.FormListFacade

public class FormListFacade extends Object
Facade used to populate a list of FormColumn
  • Field Details

  • Constructor Details

    • FormListFacade

      @Inject public FormListFacade(IFormListDAO formListDAO)
      Constructor
      Parameters:
      formListDAO - The DAO to use for the Facade
  • Method Details

    • populateFormColumns

      public void populateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormItemSortConfig sortConfig)
      Populate the given FormPanel with the information of the given FormColumns and FormFilters
      Parameters:
      formPanel - The FormPanel to populate
      listFormColumn - The list of all FormColumn to use to be populated
      listFormFilter - The list of FormFilter to use for retrieving the data of the columns to populate
      nStartIndex - The start index of doc
      nPageSize - The number of docs to load for pagination purpose
      sortConfig -
    • populateFormColumns

      public void populateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormItemSortConfig sortConfig, fr.paris.lutece.api.user.User user)
      Populate the given FormPanel with the information of the given FormColumns and FormFilters
      Parameters:
      formPanel - The FormPanel to populate
      listFormColumn - The list of all FormColumn to use to be populated
      listFormFilter - The list of FormFilter to use for retrieving the data of the columns to populate
      nStartIndex - The start index of doc
      nPageSize - The number of docs to load for pagination purpose
      sortConfig - The comparator config
      user - The current user