Interface ISystemFilterChain
- All Known Implementing Classes:
SysControllerFilterChain
public interface ISystemFilterChain
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(String filterName, SysControllerFilter filter) Add a filter to the Filter Chain.voidclearAll()Remove all current filtervoidRemove a Filter from the Filter Chain.runRequest(User sender, ISFSObject params) intsize()Get the size of the Filter Chain.
-
Method Details
-
addFilter
Add a filter to the Filter Chain. Filters will be executed in the same order in which they were added to the Filter Chain.- Parameters:
filterName- the name of the filterfilter- the filter that is going to be added
-
remove
Remove a Filter from the Filter Chain.- Parameters:
filterName- the name of the Filter
-
runRequest
-
size
int size()Get the size of the Filter Chain.- Returns:
- the size of the Filter Chain.
-
clearAll
void clearAll()Remove all current filter
-