fr.paris.lutece.portal.service.filter
Class FilterEntry

java.lang.Object
  extended by fr.paris.lutece.portal.service.filter.FilterEntry

public class FilterEntry
extends Object

Filter Entry used to load filter from the plugin XML file


Field Summary
static int ORDER_NOT_DEFINED
           
 
Constructor Summary
FilterEntry()
           
 
Method Summary
 void addParameter(String strName, String strValue)
          Add an init parameter
 String getFilterClass()
          Returns the filter
 Map<String,String> getInitParameters()
          Returns init parameters
 String getMappingUrlPattern()
          Returns the Mapping
 String getName()
          Returns the Name
 int getOrder()
          Returns the order.
 void setFilterClass(String strFilterClass)
          Sets the filter
 void setMappingUrlPattern(String strMapping)
          Sets the Mapping
 void setName(String strName)
          Sets the Name
 void setOrder(int nOrder)
          nOrder == == -1 means there is no priority set for the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORDER_NOT_DEFINED

public static final int ORDER_NOT_DEFINED
See Also:
Constant Field Values
Constructor Detail

FilterEntry

public FilterEntry()
Method Detail

getName

public String getName()
Returns the Name

Returns:
The Name

setName

public void setName(String strName)
Sets the Name

Parameters:
strName - The Name

getFilterClass

public String getFilterClass()
Returns the filter

Returns:
The filter

setFilterClass

public void setFilterClass(String strFilterClass)
Sets the filter

Parameters:
strFilterClass - The filter

getMappingUrlPattern

public String getMappingUrlPattern()
Returns the Mapping

Returns:
The Mapping

setMappingUrlPattern

public void setMappingUrlPattern(String strMapping)
Sets the Mapping

Parameters:
strMapping - The Mapping

addParameter

public void addParameter(String strName,
                         String strValue)
Add an init parameter

Parameters:
strName - The parameter name
strValue - The parameter value

getInitParameters

public Map<String,String> getInitParameters()
Returns init parameters

Returns:
Init parameters in a map object

getOrder

public int getOrder()
Returns the order. getOrder() == -1 means there is no priority set for the filter

Returns:
the order

setOrder

public void setOrder(int nOrder)
nOrder == == -1 means there is no priority set for the filter

Parameters:
nOrder - the order


Copyright © 2014 Mairie de Paris. All Rights Reserved.