org.openbp.guiclient.model.item.itemfinder
Class NodeFinder
java.lang.Object
org.openbp.guiclient.model.item.itemfinder.FinderImpl
org.openbp.guiclient.model.item.itemfinder.NodeFinder
- All Implemented Interfaces:
- Finder
- Direct Known Subclasses:
- ProcessFinder
public abstract class NodeFinder
- extends FinderImpl
Finder that is only used if the refrences can only be in the nodes
e.g. ActivityFinder.
- Author:
- Baumgartner Michael
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeFinder
public NodeFinder()
findModelObjectInModel
public java.util.List findModelObjectInModel(ModelObject mo,
Model model)
- Description copied from interface:
Finder
- Find all references of the model object in the specified model.
If no references are found an empty list is returned.
- Parameters:
mo - The references of the model object are searchedmodel - The model to search in
- Returns:
- List containing
ModelObject object that match the model object
findModelObjectInNode
protected abstract java.util.List findModelObjectInNode(Node node,
ModelObject mo)
- Scan the node if it uses the model object
- Parameters:
node - The node to scanmo - The model object that references are searched
- Returns:
- List containing
ModelObject object that match or an empty list
scanModel
protected java.util.List scanModel(Model model,
ModelObject core)
- Method that enables the finder to scan the elements of the model too.
- Parameters:
model - The model to scancore - The model object to search for
- Returns:
- List containing
ModelObject object that match or an empty list
Copyright © 2011. All Rights Reserved.