Class FormListFacade
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.form.list.FormListFacade
-
public class FormListFacade extends java.lang.ObjectFacade used to populate a list of FormColumn
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAME
-
Constructor Summary
Constructors Constructor Description FormListFacade(IFormListDAO formListDAO)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulateFormColumns(FormPanel formPanel, java.util.List<IFormColumn> listFormColumn, java.util.List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormItemSortConfig sortConfig)Populate the given FormPanel with the information of the given FormColumns and FormFiltersvoidpopulateFormColumns(FormPanel formPanel, java.util.List<IFormColumn> listFormColumn, java.util.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
-
-
-
Field Detail
-
BEAN_NAME
public static final java.lang.String BEAN_NAME
- See Also:
- Constant Field Values
-
-
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, java.util.List<IFormColumn> listFormColumn, java.util.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 populatelistFormColumn- 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 docnPageSize- The number of docs to load for pagination purposesortConfig-
-
populateFormColumns
public void populateFormColumns(FormPanel formPanel, java.util.List<IFormColumn> listFormColumn, java.util.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 populatelistFormColumn- 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 docnPageSize- The number of docs to load for pagination purposesortConfig- The comparator configuser- The current user
-
-