Class FormListLuceneDAO
java.lang.Object
fr.paris.lutece.plugins.forms.business.form.list.FormListLuceneDAO
- All Implemented Interfaces:
IFormListDAO
Implementation of the IFormListDAO interface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormItemSortConfig sortConfig) Populate the FormPanel with the values returned by the SQL query resultsvoidpopulateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormItemSortConfig sortConfig, fr.paris.lutece.api.user.User user) Populate the FormPanel with the values returned by the SQL query resultssearchAllFormResponseItem(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, FormItemSortConfig sortConfig) Search the Lucene Index.
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Constructor Details
-
FormListLuceneDAO
public FormListLuceneDAO()
-
-
Method Details
-
populateFormColumns
public void populateFormColumns(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, int nStartIndex, int nPageSize, FormItemSortConfig sortConfig) Populate the FormPanel with the values returned by the SQL query results- Specified by:
populateFormColumnsin interfaceIFormListDAO- Parameters:
formPanel- The FormPanel used to retrieve the values of the FormColumnlistFormColumn- The list of FormColumn to populatelistFormFilter- The list of FormFilter used for filtering the data to retrievenStartIndex- The start index of doc that all will become FormResponseItemnPageSize- The number of doc to load for pagination purposesortConfig- The comparator config
-
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) Description copied from interface:IFormListDAOPopulate the FormPanel with the values returned by the SQL query results- Specified by:
populateFormColumnsin interfaceIFormListDAO- Parameters:
formPanel- The FormPanel used to retrieve the values of the FormColumnlistFormColumn- The list of FormColumn to populatelistFormFilter- The list of FormFilter used for filtering the data to retrievenStartIndex- The start index of doc that all will become FormResponseItemnPageSize- The number of doc to load for pagination purposesortConfig- The comparator configuser- The current user
-
searchAllFormResponseItem
public List<FormResponseItem> searchAllFormResponseItem(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, FormItemSortConfig sortConfig) Description copied from interface:IFormListDAOSearch the Lucene Index.- Specified by:
searchAllFormResponseItemin interfaceIFormListDAO- Returns:
-