Class FormListLuceneDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.form.list.FormListLuceneDAO
-
- All Implemented Interfaces:
IFormListDAO
public class FormListLuceneDAO extends Object implements IFormListDAO
Implementation of the IFormListDAO interface
-
-
Constructor Summary
Constructors Constructor Description FormListLuceneDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulateFormColumns(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 resultsList<FormResponseItem>searchAllFormResponseItem(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, FormItemSortConfig sortConfig)Search the Lucene Index.
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
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:
-
-