Class ActiveCollectionFilter
java.lang.Object
org.kuali.rice.krad.uif.container.ActiveCollectionFilter
- All Implemented Interfaces:
Serializable,CollectionFilter
Collection filter that removes inactive lines from a collection whose line types
implement the
Inactivatable interface- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(View view, Object model, CollectionGroup collectionGroup) Iterates through the collection and if the collection line type implementsInactivatable, active indexes are added to the show indexes list Invoked to filter the collection data before the collection group is built.
-
Constructor Details
-
ActiveCollectionFilter
public ActiveCollectionFilter()
-
-
Method Details
-
filter
Iterates through the collection and if the collection line type implementsInactivatable, active indexes are added to the show indexes list Invoked to filter the collection data before the collection group is built. Note the collection should be retrieved from the model and the valid row indexes must be returned in the return list- Specified by:
filterin interfaceCollectionFilter- Parameters:
view- - 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 collection- Returns:
- the list that contains valid row indexes
-