Class LuteceFilter
java.lang.Object
fr.paris.lutece.portal.service.filter.LuteceFilter
- All Implemented Interfaces:
Comparable<LuteceFilter>
LuteceFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(LuteceFilter luteceFilter) booleanjakarta.servlet.FilterReturns the filterReturns init parametersReturns the MappinggetName()Returns the NameintgetOrder()Returns the order.Returns the PlugininthashCode()voidsetFilter(jakarta.servlet.Filter filter) Sets the filtervoidsetMappingUrlPattern(String strMapping) Sets the MappingvoidSets the NamevoidsetOrder(int nOrder) nOrder == == -1 means there is no priority set for the filtervoidSets the PlugintoString()for debug purpose
-
Field Details
-
ORDER_NOT_DEFINED
public static final int ORDER_NOT_DEFINED- See Also:
-
-
Constructor Details
-
LuteceFilter
public LuteceFilter(String strName, jakarta.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 Details
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getFilter
public jakarta.servlet.Filter getFilter()Returns the filter- Returns:
- The filter
-
setFilter
public void setFilter(jakarta.servlet.Filter filter) Sets the filter- Parameters:
filter- The filter
-
getMappingUrlPattern
Returns the Mapping- Returns:
- The Mapping
-
setMappingUrlPattern
Sets the Mapping- Parameters:
strMapping- The Mapping
-
getPlugin
Returns the Plugin- Returns:
- The Plugin
-
setPlugin
Sets the Plugin- Parameters:
plugin- The plugin
-
getInitParameters
Returns init parameters- Returns:
- Init parameters in a map object
-
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
- Specified by:
compareToin interfaceComparable<LuteceFilter>
-
equals
-
hashCode
public int hashCode()
-