Interface IFilterChain
- All Known Implementing Classes:
SFSExtensionFilterChain
public interface IFilterChain
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(String filterName, SFSExtensionFilter filter) Add a filter to the Filter Chain.voiddestroy()Shut down the Filter Chain.voidRemove a Filter from the Filter Chain.runEventInChain(ISFSEvent event) runRequestInChain(String requestId, 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
-
runRequestInChain
-
runEventInChain
- Throws:
SFSException
-
size
int size()Get the size of the Filter Chain.- Returns:
- the size of the Filter Chain.
-
destroy
void destroy()Shut down the Filter Chain.
-