public final class MultiviewFormService extends Object
| Modifier and Type | Method and Description |
|---|---|
IFormPanelDisplay |
findActiveFormPanel(List<IFormPanelDisplay> listFormPanelDisplay)
Find the FormPanel which is active in the given list
|
List<IFormColumn> |
getFormColumnsList(Integer nIdForm)
Get the form columns list from spring and multiview conf
|
List<FormFilter> |
getFormFiltersList(Integer nIdForm,
List<IFormColumn> listFormColumn)
Get the form columns list from spring and multiview conf
|
static MultiviewFormService |
getInstance()
Return the singleton of the MultiviewFormService
|
void |
populateFormColumns(FormPanel formPanel,
List<IFormColumn> listFormColumn,
List<FormFilter> listFormFilter,
int nStartIndex,
int nPageSize,
FormResponseItemSortConfig sortConfig)
Populate the given FormPanel with the information from the given list of FormColumns and FormFilters
|
List<FormResponseItem> |
searchAllListFormResponseItem(FormPanel formPanel,
List<IFormColumn> listFormColumn,
List<FormFilter> listFormFilter,
FormResponseItemSortConfig sortConfig) |
public static MultiviewFormService getInstance()
public void populateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormResponseItemSortConfig sortConfig)
formPanel - The FormPanel used to retrieve the values of the FormColumnslistFormColumn - The list of all FormColumn to use to be populatedlistFormFilter - The list of FormFilter to use for retrieving the data of the columns to populatenStartIndex - The start index of doc to loadnPageSize - The size of page of docs to loadsortConfig - public List<FormResponseItem> searchAllListFormResponseItem(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, FormResponseItemSortConfig sortConfig)
public IFormPanelDisplay findActiveFormPanel(List<IFormPanelDisplay> listFormPanelDisplay)
listFormPanelDisplay - The list to retrieve the active FormPanelDisplaypublic List<IFormColumn> getFormColumnsList(Integer nIdForm)
nIdForm - public List<FormFilter> getFormFiltersList(Integer nIdForm, List<IFormColumn> listFormColumn)
nIdForm - Copyright © 2020 City of Paris. All rights reserved.