Class FilterEntry
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static intORDER_NOT_DEFINED
-
Constructor Summary
Constructors Constructor Description FilterEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(String strName, String strValue)Add an init parameterStringgetFilterClass()Returns the filterMap<String,String>getInitParameters()Returns init parametersStringgetMappingUrlPattern()Returns the MappingStringgetName()Returns the NameintgetOrder()Returns the order.voidsetFilterClass(String strFilterClass)Sets the filtervoidsetMappingUrlPattern(String strMapping)Sets the MappingvoidsetName(String strName)Sets the NamevoidsetOrder(int nOrder)nOrder == == -1 means there is no priority set for the filter
-
-
-
Field Detail
-
ORDER_NOT_DEFINED
public static final int ORDER_NOT_DEFINED
- See Also:
- Constant Field Values
-
-
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 namestrValue- 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
-
-