Interface ISystemFilterChain
-
- All Known Implementing Classes:
SysControllerFilterChain
public interface ISystemFilterChain
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFilter(java.lang.String filterName, SysControllerFilter filter)
Add a filter to the Filter Chain.void
clearAll()
Remove all current filtervoid
remove(java.lang.String filterName)
Remove a Filter from the Filter Chain.FilterAction
runRequest(User sender, ISFSObject params)
int
size()
Get the size of the Filter Chain.
-
-
-
Method Detail
-
addFilter
void addFilter(java.lang.String filterName, SysControllerFilter filter)
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
void remove(java.lang.String filterName)
Remove a Filter from the Filter Chain.- Parameters:
filterName
- the name of the Filter
-
runRequest
FilterAction runRequest(User sender, ISFSObject params)
-
size
int size()
Get the size of the Filter Chain.- Returns:
- the size of the Filter Chain.
-
clearAll
void clearAll()
Remove all current filter
-
-