public class MaintenanceActiveCollectionFilter extends Object implements CollectionFilter, Copyable
| Constructor and Description |
|---|
MaintenanceActiveCollectionFilter() |
| Modifier and Type | Method and Description |
|---|---|
MaintenanceActiveCollectionFilter |
clone()
Override
Object.clone() to assign the public modifier. |
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
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 listfilter 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 collectionpublic String getOldBindingObjectPath()
public void setOldBindingObjectPath(String oldBindingObjectPath)
oldBindingObjectPath - public MaintenanceActiveCollectionFilter 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.