public class ELCollectionFilter extends Object implements CollectionFilter
| Constructor and Description |
|---|
ELCollectionFilter() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
filter(View view,
Object model,
CollectionGroup collectionGroup)
Iterates through the collection and evaluates the el expression in context of the line.
|
String |
getExpression()
Expression that will be evaluated for each line to determine whether the line should be filtered
|
ExpressionEvaluatorService |
getExpressionEvaluatorService() |
void |
setExpression(String expression)
Setter for the expression to use for filtering
|
public ELCollectionFilter()
public List<Integer> filter(View view, Object model, CollectionGroup collectionGroup)
filter in interface CollectionFilterview - - view instance for the collection groupmodel - - object containing the view data and from which the collection should be pulled/updatedcollectionGroup - - collection group instance containing configuration for the collectionCollectionFilter.filter(org.kuali.rice.krad.uif.view.View, Object,
CollectionGroup)public String getExpression()
If expression passes, the line will remain in the collection, otherwise be filtered out. The expression given should evaluate to a boolean
public void setExpression(String expression)
expression - public ExpressionEvaluatorService getExpressionEvaluatorService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.