public class ELCollectionFilter extends Object implements CollectionFilter, Copyable
| Constructor and Description |
|---|
ELCollectionFilter() |
| Modifier and Type | Method and Description |
|---|---|
ELCollectionFilter |
clone()
Override
Object.clone() to assign the public modifier. |
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
|
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 ELCollectionFilter clone() throws CloneNotSupportedException
CopyableObject.clone() to assign the public modifier.clone in interface Copyableclone in class ObjectObject.clone()CloneNotSupportedException - If Cloneable is not implemented. This should not
be possible when using this interface.Copyable.clone()Copyright © 2005–2018 The Kuali Foundation. All rights reserved.