Class FormListFacade


  • public class FormListFacade
    extends Object
    Facade used to populate a list of FormColumn
    • Constructor Detail

      • FormListFacade

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

      • 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 -