Class LuteceFilter
- java.lang.Object
-
- fr.paris.lutece.portal.service.filter.LuteceFilter
-
- All Implemented Interfaces:
Comparable<LuteceFilter>
public class LuteceFilter extends Object implements Comparable<LuteceFilter>
LuteceFilter
-
-
Field Summary
Fields Modifier and Type Field Description static intORDER_NOT_DEFINED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(LuteceFilter luteceFilter)booleanequals(Object o)javax.servlet.FiltergetFilter()Returns the filterMap<String,String>getInitParameters()Returns init parametersStringgetMappingUrlPattern()Returns the MappingStringgetName()Returns the NameintgetOrder()Returns the order.PlugingetPlugin()Returns the PlugininthashCode()voidsetFilter(javax.servlet.Filter filter)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 filtervoidsetPlugin(Plugin plugin)Sets the PluginStringtoString()for debug purpose
-
-
-
Field Detail
-
ORDER_NOT_DEFINED
public static final int ORDER_NOT_DEFINED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LuteceFilter
public LuteceFilter(String strName, javax.servlet.Filter filter, String strMapping, Plugin plugin, Map<String,String> mapInitParameters)
Constructor- Parameters:
strName- The namefilter- The filter classstrMapping- The mapping url patternplugin- The pluginmapInitParameters- Init parameters as a map
-
-
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
-
getFilter
public javax.servlet.Filter getFilter()
Returns the filter- Returns:
- The filter
-
setFilter
public void setFilter(javax.servlet.Filter filter)
Sets the filter- Parameters:
filter- 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
-
getPlugin
public Plugin getPlugin()
Returns the Plugin- Returns:
- The Plugin
-
setPlugin
public void setPlugin(Plugin plugin)
Sets the Plugin- Parameters:
plugin- The plugin
-
getInitParameters
public Map<String,String> getInitParameters()
Returns init parameters- Returns:
- Init parameters in a map object
-
toString
public String toString()
for debug purpose
-
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
-
compareTo
public int compareTo(LuteceFilter luteceFilter)
- Specified by:
compareToin interfaceComparable<LuteceFilter>
-
-