org.kuali.rice.krad.uif.container
Class ActiveCollectionFilter

java.lang.Object
  extended by org.kuali.rice.krad.uif.container.ActiveCollectionFilter
All Implemented Interfaces:
Serializable, CollectionFilter

public class ActiveCollectionFilter
extends Object
implements 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:
Serialized Form

Constructor Summary
ActiveCollectionFilter()
           
 
Method Summary
 List<Integer> filter(View view, Object model, CollectionGroup collectionGroup)
          Iterates through the collection and if the collection line type implements Inactivatable, active indexes are added to the show indexes list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveCollectionFilter

public ActiveCollectionFilter()
Method Detail

filter

public List<Integer> filter(View view,
                            Object model,
                            CollectionGroup collectionGroup)
Iterates through the collection and if the collection line type implements Inactivatable, active indexes are added to the show indexes list

Specified by:
filter in interface CollectionFilter
Parameters:
view - - view instance for the collection group
model - - object containing the view data and from which the collection should be pulled/updated
collectionGroup - - collection group instance containing configuration for the collection
Returns:
the list that contains valid row indexes
See Also:
CollectionFilter.filter(org.kuali.rice.krad.uif.view.View, Object, org.kuali.rice.krad.uif.container.CollectionGroup)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.