fr.paris.lutece.util.datatable
Class DataTableFilter

java.lang.Object
  extended by fr.paris.lutece.util.datatable.DataTableFilter

public class DataTableFilter
extends Object

Class to filter data with a DataTableManager


Constructor Summary
protected DataTableFilter(DataTableFilterType filterType, String strParameterName, String strFilterLabel)
          Creates a new filter
 
Method Summary
 String getFilterLabel()
          Get the label of the filter
 DataTableFilterType getFilterType()
          Get the type of the filter
 String getParameterName()
          Get the name of the parameter to filter
 ReferenceList getRefList()
          Get the reference list of this filter
 String getValue()
          Get the current value of the filter
protected  void setFilterLabel(String strFilterLabel)
          Set the label of the filter
protected  void setFilterType(DataTableFilterType filterType)
          Set the type of the filter
protected  void setParameterName(String strParameterName)
          Set the name of the parameter to filter
protected  void setRefList(ReferenceList refList)
          Set the reference list of this filter
protected  void setValue(String strValue)
          Set the current value of the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTableFilter

protected DataTableFilter(DataTableFilterType filterType,
                          String strParameterName,
                          String strFilterLabel)
Creates a new filter

Parameters:
filterType - The type of the filter
strParameterName - The name of the parameter to filter
strFilterLabel - The label of the filter
Method Detail

getFilterType

public DataTableFilterType getFilterType()
Get the type of the filter

Returns:
The type of the filter

setFilterType

protected void setFilterType(DataTableFilterType filterType)
Set the type of the filter

Parameters:
filterType - The type of the filter

getParameterName

public String getParameterName()
Get the name of the parameter to filter

Returns:
The name of the parameter to filter

setParameterName

protected void setParameterName(String strParameterName)
Set the name of the parameter to filter

Parameters:
strParameterName - The name of the parameter to filter

getFilterLabel

public String getFilterLabel()
Get the label of the filter

Returns:
The label of the filter

setFilterLabel

protected void setFilterLabel(String strFilterLabel)
Set the label of the filter

Parameters:
strFilterLabel - The label of the filter

getRefList

public ReferenceList getRefList()
Get the reference list of this filter

Returns:
The reference list of this filter

setRefList

protected void setRefList(ReferenceList refList)
Set the reference list of this filter

Parameters:
refList - The reference list of this filter

getValue

public String getValue()
Get the current value of the filter

Returns:
The current value of the filter

setValue

protected void setValue(String strValue)
Set the current value of the filter

Parameters:
strValue - The current value of the filter


Copyright © 2014 Mairie de Paris. All Rights Reserved.