public interface ViewResult extends SupportsClientProperties<ViewResult>
Modifier and Type | Method and Description |
---|---|
Map<ViewResultTreeNodeID,ViewResultTreeNode> |
getNearestNodesFromIds(Set<ViewResultTreeNodeID> ids)
Returns a map of nearest matchs (node or closest parent existing) for the given ids.
|
Map<ViewResultTreeNodeID,ViewResultTreeNode> |
getNearestNodesFromIds(ViewResultTreeNodeID... ids)
|
ViewResultTreeNode |
lookupAccessedNodeFromTreeNodeId(ViewResultTreeNodeID id)
a quick method that return null if the node with the given id is was not accessed yet.
|
Set<ViewResultTreeNode> |
lookupNodes(Set<String> viewDefinitionNodeNames)
Returns all the node in the view matching any of the given set of view definition node names.
|
Set<ViewResultTreeNode> |
lookupNodesFromIds(Set<UcmdbId> ciIds)
Returns all the nodes matching the given ci ids.
|
Set<ViewResultTreeNode> |
lookupNodesFromIds(UcmdbId... ciIds)
Returns all the nodes matching the given ci ids.
|
void |
makeThreadSafe()
Call this method to make the internal view structure safe to access by multiple threads.
|
ViewResultVersion |
resultVersion() |
List<? extends ViewResultTreeNode> |
roots()
The ordered list of view result tree roots.
|
Topology |
topology()
The topology this view result is based on.
|
ViewResultUtils |
utils() |
boolean |
viewSupportsHasChanges()
Returns true if the view that generated this view result supports the "has changes" question.
|
clientProperties, clientProperty, usedNamespaces, withClientProperty
Topology topology()
options
object.List<? extends ViewResultTreeNode> roots()
Set<ViewResultTreeNode> lookupNodes(Set<String> viewDefinitionNodeNames)
Set<ViewResultTreeNode> lookupNodesFromIds(Set<UcmdbId> ciIds)
Set<ViewResultTreeNode> lookupNodesFromIds(UcmdbId... ciIds)
@NotFinalAPI Map<ViewResultTreeNodeID,ViewResultTreeNode> getNearestNodesFromIds(Set<ViewResultTreeNodeID> ids)
ids
- the ids to find nearest nodes for. May not be null, may be empty.@NotFinalAPI Map<ViewResultTreeNodeID,ViewResultTreeNode> getNearestNodesFromIds(ViewResultTreeNodeID... ids)
ViewResultTreeNode lookupAccessedNodeFromTreeNodeId(ViewResultTreeNodeID id)
id
- the id.@NotFinalAPI ViewResultVersion resultVersion()
@NotFinalAPI boolean viewSupportsHasChanges()
topology().querySupportsHasChanges();
ViewResultUtils utils()
void makeThreadSafe()
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.