Class AbstractFormFilterDisplay

java.lang.Object
fr.paris.lutece.plugins.forms.web.form.filter.display.impl.AbstractFormFilterDisplay
All Implemented Interfaces:
IFormFilterDisplay, IFilterable, IFormListPosition
Direct Known Subclasses:
FormFilterDisplayEntry, FormFilterDisplayFormResponseDate, FormFilterDisplayForms, FormFilterDisplaySearchedText, FormFilterDisplayWorkflowState

public abstract class AbstractFormFilterDisplay extends Object implements IFormFilterDisplay
Abstract class for the FormFilterDisplay objects
  • Constructor Details

    • AbstractFormFilterDisplay

      public AbstractFormFilterDisplay()
  • Method Details

    • getBaseTemplate

      public String getBaseTemplate()
      Return the base template of the FormFilterDisplay, before being filled
      Specified by:
      getBaseTemplate in interface IFormFilterDisplay
      Returns:
      the base template of the FormFilterDisplay
    • getValue

      public String getValue()
      Return the value of the the template of the FormFilterDisplay
      Specified by:
      getValue in interface IFormFilterDisplay
      Returns:
      the value of the FormFilterDisplay
    • getPosition

      public int getPosition()
      Return the position of the element
      Specified by:
      getPosition in interface IFormListPosition
      Returns:
      the position of the element
    • setPosition

      public void setPosition(int nPosition)
      Set the position of the element
      Specified by:
      setPosition in interface IFormListPosition
      Parameters:
      nPosition - The position to set to the element
    • getTemplate

      public String getTemplate()
      Return the template of the FormFilterDisplay
      Specified by:
      getTemplate in interface IFormFilterDisplay
      Returns:
      the template of the FormFilterDisplay
    • getFormFilter

      public FormFilter getFormFilter()
      Return the FormFilter of the FilterDisplay
      Specified by:
      getFormFilter in interface IFilterable
      Returns:
      the FormFilter of the FilterDisplay
    • setFormFilter

      public void setFormFilter(FormFilter formFilter)
      Set the FormFilter associated to the FilterDisplay
      Specified by:
      setFormFilter in interface IFilterable
      Parameters:
      formFilter - The FormFilter to associate to the FormFilterDisplay
    • createFormParameters

      public FormParameters createFormParameters(jakarta.servlet.http.HttpServletRequest request)
      Create a FormParameters for the filter with the data in the given request
      Specified by:
      createFormParameters in interface IFilterable
      Parameters:
      request - The request to retrieve the data of the filter
      Returns:
      the FormParameters for the given filter with the data of the request