public class MaintenanceActiveCollectionFilter extends Object implements CollectionFilter
| Constructor and Description |
|---|
MaintenanceActiveCollectionFilter() |
| Modifier and Type | Method and Description |
|---|---|
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 |
String |
getOldBindingObjectPath()
Gives the binding path to the old data object for comparison, used to
get the active status of the old object
|
void |
setOldBindingObjectPath(String oldBindingObjectPath)
Setter for the path to the old data object
|
public MaintenanceActiveCollectionFilter()
public List<Integer> filter(View view, Object model, CollectionGroup collectionGroup)
Inactivatable
active indexes are added to the show indexes list
In the case of a new line being added, the user is not allowed to hide the record (even if it is inactive). Likewise in the case of an edit where the active flag has changed between the old and new side, the user is not allowed to hide
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, org.kuali.rice.krad.uif.container.CollectionGroup)public String getOldBindingObjectPath()
public void setOldBindingObjectPath(String oldBindingObjectPath)
oldBindingObjectPath - Copyright © 2005–2016 The Kuali Foundation. All rights reserved.