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
Abstract class for the FormFilterDisplay objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFormParameters(jakarta.servlet.http.HttpServletRequest request) Create a FormParameters for the filter with the data in the given requestReturn the base template of the FormFilterDisplay, before being filledReturn the FormFilter of the FilterDisplayintReturn the position of the elementReturn the template of the FormFilterDisplaygetValue()Return the value of the the template of the FormFilterDisplayvoidsetFormFilter(FormFilter formFilter) Set the FormFilter associated to the FilterDisplayvoidsetPosition(int nPosition) Set the position of the elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.forms.web.form.filter.display.IFormFilterDisplay
buildTemplate, getParameterName
-
Constructor Details
-
AbstractFormFilterDisplay
public AbstractFormFilterDisplay()
-
-
Method Details
-
getBaseTemplate
Return the base template of the FormFilterDisplay, before being filled- Specified by:
getBaseTemplatein interfaceIFormFilterDisplay- Returns:
- the base template of the FormFilterDisplay
-
getValue
Return the value of the the template of the FormFilterDisplay- Specified by:
getValuein interfaceIFormFilterDisplay- Returns:
- the value of the FormFilterDisplay
-
getPosition
public int getPosition()Return the position of the element- Specified by:
getPositionin interfaceIFormListPosition- Returns:
- the position of the element
-
setPosition
public void setPosition(int nPosition) Set the position of the element- Specified by:
setPositionin interfaceIFormListPosition- Parameters:
nPosition- The position to set to the element
-
getTemplate
Return the template of the FormFilterDisplay- Specified by:
getTemplatein interfaceIFormFilterDisplay- Returns:
- the template of the FormFilterDisplay
-
getFormFilter
Return the FormFilter of the FilterDisplay- Specified by:
getFormFilterin interfaceIFilterable- Returns:
- the FormFilter of the FilterDisplay
-
setFormFilter
Set the FormFilter associated to the FilterDisplay- Specified by:
setFormFilterin interfaceIFilterable- Parameters:
formFilter- The FormFilter to associate to the FormFilterDisplay
-
createFormParameters
Create a FormParameters for the filter with the data in the given request- Specified by:
createFormParametersin interfaceIFilterable- Parameters:
request- The request to retrieve the data of the filter- Returns:
- the FormParameters for the given filter with the data of the request
-