Class FormListLuceneDAO

java.lang.Object
fr.paris.lutece.plugins.forms.business.form.list.FormListLuceneDAO
All Implemented Interfaces:
IFormListDAO

@ApplicationScoped public class FormListLuceneDAO extends Object implements IFormListDAO
Implementation of the IFormListDAO interface
  • Field Details

  • 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:
      populateFormColumns in interface IFormListDAO
      Parameters:
      formPanel - The FormPanel used to retrieve the values of the FormColumn
      listFormColumn - The list of FormColumn to populate
      listFormFilter - The list of FormFilter used for filtering the data to retrieve
      nStartIndex - The start index of doc that all will become FormResponseItem
      nPageSize - The number of doc to load for pagination purpose
      sortConfig - 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: IFormListDAO
      Populate the FormPanel with the values returned by the SQL query results
      Specified by:
      populateFormColumns in interface IFormListDAO
      Parameters:
      formPanel - The FormPanel used to retrieve the values of the FormColumn
      listFormColumn - The list of FormColumn to populate
      listFormFilter - The list of FormFilter used for filtering the data to retrieve
      nStartIndex - The start index of doc that all will become FormResponseItem
      nPageSize - The number of doc to load for pagination purpose
      sortConfig - The comparator config
      user - The current user
    • searchAllFormResponseItem

      public List<FormResponseItem> searchAllFormResponseItem(FormPanel formPanel, List<IFormColumn> listFormColumn, List<FormFilter> listFormFilter, FormItemSortConfig sortConfig)
      Description copied from interface: IFormListDAO
      Search the Lucene Index.
      Specified by:
      searchAllFormResponseItem in interface IFormListDAO
      Returns: