| Constructor and Description |
|---|
CollectionFilter(String attrName) |
CollectionFilter(String attrName,
int maxAllowed) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Object> |
buildCollection(Object[] list,
int max) |
void |
destroy()
Gives a chance to the filter to deallocalte any resources before it is destroyed.
|
String |
filter(InvocationChain chain)
Executes the filter.
|
protected int |
parseNumberFromKey(String attrName,
String key) |
public CollectionFilter(String attrName)
public CollectionFilter(String attrName, int maxAllowed)
public String filter(InvocationChain chain) throws Exception
Filterprotected Collection<Object> buildCollection(Object[] list, int max)
protected int parseNumberFromKey(String attrName, String key) throws NumberFormatException
NumberFormatExceptionpublic void destroy()
FilterCopyright © 2015. All Rights Reserved.