Class FilterEntry
java.lang.Object
fr.paris.lutece.portal.service.filter.FilterEntry
Filter Entry used to load filter from the plugin XML file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(String strName, String strValue) Add an init parameterReturns the filterReturns init parametersReturns the MappinggetName()Returns the NameintgetOrder()Returns the order.voidsetFilterClass(String strFilterClass) Sets the filtervoidsetMappingUrlPattern(String strMapping) Sets the MappingvoidSets the NamevoidsetOrder(int nOrder) nOrder == == -1 means there is no priority set for the filter
-
Field Details
-
ORDER_NOT_DEFINED
public static final int ORDER_NOT_DEFINED- See Also:
-
-
Constructor Details
-
FilterEntry
public FilterEntry()
-
-
Method Details
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getFilterClass
Returns the filter- Returns:
- The filter
-
setFilterClass
Sets the filter- Parameters:
strFilterClass- The filter
-
getMappingUrlPattern
Returns the Mapping- Returns:
- The Mapping
-
setMappingUrlPattern
Sets the Mapping- Parameters:
strMapping- The Mapping
-
addParameter
Add an init parameter- Parameters:
strName- The parameter namestrValue- The parameter value
-
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
-