Interface IFormListDAO
- All Known Implementing Classes:
FormListLuceneDAO
public interface IFormListDAO
DAO for retrieving the data of a list of FormColumn values from a list of FormFilter
-
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.
-
Method Details
-
populateFormColumns
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- 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
void populateFormColumns(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 results- 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
List<FormResponseItem> searchAllFormResponseItem(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, FormItemSortConfig sortConfig) Search the Lucene Index.- Parameters:
formPanel-listFormColumn-listFormFilter-nStartIndex-nPageSize-sortConfig-- Returns:
-