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
|
static MultiviewFormService |
getInstance()
Return the singleton of the MultiviewFormService
|
void |
populateFormColumns(FormPanel formPanel,
List<IFormColumn> listFormColumn,
List<FormFilter> listFormFilter)
Populate the given FormPanel with the information from the given list of FormColumns and FormFilters
|
public static MultiviewFormService getInstance()
public void populateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter)
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 populatepublic IFormPanelDisplay findActiveFormPanel(List<IFormPanelDisplay> listFormPanelDisplay)
listFormPanelDisplay - The list to retrieve the active FormPanelDisplaypublic List<IFormColumn> getFormColumnsList(Integer nIdForm)
nIdForm - Copyright © 2019 City of Paris. All rights reserved.