Class FormFilterDisplaySearchedText
java.lang.Object
fr.paris.lutece.plugins.forms.web.form.filter.display.impl.AbstractFormFilterDisplay
fr.paris.lutece.plugins.forms.web.form.filter.display.impl.FormFilterDisplaySearchedText
- All Implemented Interfaces:
IFormFilterDisplay,IFilterable,IFormListPosition
Implementation of the IFormFilterDisplay interface for the filter on workflow state
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildTemplate(jakarta.servlet.http.HttpServletRequest request, Locale locale) Build the Template of the FormFilterDisplaycreateFormParameters(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 FilterDisplayReturn the name of the parameter associated to the FormFilterDisplay.intReturn 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 element
-
Constructor Details
-
FormFilterDisplaySearchedText
-
-
Method Details
-
getBaseTemplate
Return the base template of the FormFilterDisplay, before being filled- Specified by:
getBaseTemplatein interfaceIFormFilterDisplay- Overrides:
getBaseTemplatein classAbstractFormFilterDisplay- Returns:
- the base template of the FormFilterDisplay
-
getParameterName
Return the name of the parameter associated to the FormFilterDisplay. This name correspond to the name on which the filter used to retrieve the value which has been selected on the screen by the user. If the name returned by this method doesn't match the name used to retrieve the value selected by the user this value will be lost during the redirection between the page of the details of the form response and the page which list all the form responses.- Returns:
- the name of the parameter associated to the FormFilterDisplay
-
buildTemplate
Build the Template of the FormFilterDisplay- Parameters:
request- The HttpServletRequest to use to build the template of the filterlocale- The locale to use for i18n labels in the template
-
getValue
Return the value of the the template of the FormFilterDisplay- Specified by:
getValuein interfaceIFormFilterDisplay- Overrides:
getValuein classAbstractFormFilterDisplay- Returns:
- the value of the FormFilterDisplay
-
getTemplate
Return the template of the FormFilterDisplay- Specified by:
getTemplatein interfaceIFormFilterDisplay- Overrides:
getTemplatein classAbstractFormFilterDisplay- Returns:
- the template of the FormFilterDisplay
-
createFormParameters
Create a FormParameters for the filter with the data in the given request- Specified by:
createFormParametersin interfaceIFilterable- Overrides:
createFormParametersin classAbstractFormFilterDisplay- Parameters:
request- The request to retrieve the data of the filter- Returns:
- the FormParameters for the given filter with the data of the request
-
setFormFilter
Set the FormFilter associated to the FilterDisplay- Specified by:
setFormFilterin interfaceIFilterable- Overrides:
setFormFilterin classAbstractFormFilterDisplay- Parameters:
formFilter- The FormFilter to associate to the FormFilterDisplay
-
getFormFilter
Return the FormFilter of the FilterDisplay- Specified by:
getFormFilterin interfaceIFilterable- Overrides:
getFormFilterin classAbstractFormFilterDisplay- Returns:
- the FormFilter of the FilterDisplay
-
getPosition
public int getPosition()Return the position of the element- Specified by:
getPositionin interfaceIFormListPosition- Overrides:
getPositionin classAbstractFormFilterDisplay- Returns:
- the position of the element
-
setPosition
public void setPosition(int nPosition) Set the position of the element- Specified by:
setPositionin interfaceIFormListPosition- Overrides:
setPositionin classAbstractFormFilterDisplay- Parameters:
nPosition- The position to set to the element
-