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 java.lang.Object implements IFormFilterDisplay
Abstract class for the FormFilterDisplay objects
-
-
Constructor Summary
Constructors Constructor Description AbstractFormFilterDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormParameterscreateFormParameters(javax.servlet.http.HttpServletRequest request)Create a FormParameters for the filter with the data in the given requestjava.lang.StringgetBaseTemplate()Return the base template of the FormFilterDisplay, before being filledFormFiltergetFormFilter()Return the FormFilter of the FilterDisplayintgetPosition()Return the position of the elementjava.lang.StringgetTemplate()Return the template of the FormFilterDisplayjava.lang.StringgetValue()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-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.forms.web.form.filter.display.IFormFilterDisplay
buildTemplate, getParameterName
-
-
-
-
Method Detail
-
getBaseTemplate
public java.lang.String getBaseTemplate()
Return the base template of the FormFilterDisplay, before being filled- Specified by:
getBaseTemplatein interfaceIFormFilterDisplay- Returns:
- the base template of the FormFilterDisplay
-
getValue
public java.lang.String 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
public java.lang.String getTemplate()
Return the template of the FormFilterDisplay- Specified by:
getTemplatein interfaceIFormFilterDisplay- Returns:
- the template of the FormFilterDisplay
-
getFormFilter
public FormFilter getFormFilter()
Return the FormFilter of the FilterDisplay- Specified by:
getFormFilterin interfaceIFilterable- Returns:
- the FormFilter of the FilterDisplay
-
setFormFilter
public void setFormFilter(FormFilter formFilter)
Set the FormFilter associated to the FilterDisplay- Specified by:
setFormFilterin interfaceIFilterable- Parameters:
formFilter- The FormFilter to associate to the FormFilterDisplay
-
createFormParameters
public FormParameters createFormParameters(javax.servlet.http.HttpServletRequest request)
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
-
-