public class VmwareTopologyProvider extends SimpleGraphProvider implements GraphProvider, SearchProvider
AbstractTopologyProvider.IdGenerator
Modifier and Type | Field and Description |
---|---|
static String |
TOPOLOGY_NAMESPACE_VMWARE |
TOPOLOGY_NAMESPACE_SIMPLE
SIMPLE_EDGE_ID_PREFIX, SIMPLE_GROUP_ID_PREFIX, SIMPLE_VERTEX_ID_PREFIX
m_edgeProvider, m_vertexProvider
Constructor and Description |
---|
VmwareTopologyProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addVertexHopCriteria(SearchResult searchResult,
GraphContainer container)
This method is called when the selection is made from the list of
|
void |
debug(Vertex vmwareVertex) |
void |
debugAll() |
IpInterfaceDao |
getIpInterfaceDao() |
NodeDao |
getNodeDao() |
String |
getSearchProviderNamespace()
This is a namespace for search providers...
|
Set<VertexRef> |
getVertexRefsBy(SearchResult searchResult,
GraphContainer container)
This method is called when the topology UI needs to know what
|
boolean |
isGenerated() |
void |
onCenterSearchResult(SearchResult searchResult,
GraphContainer graphContainer)
This method called when the user clicks the focus icon on the
|
void |
onDefocusSearchResult(SearchResult searchResult,
OperationContext operationContext)
This method is called from the UI when the user wants to remove a vertex that currently in the focus list.
|
void |
onFocusSearchResult(SearchResult searchResult,
OperationContext operationContext)
This method is called from the UI when the user wants to add a vertex that is in the current context
to the focus list.
|
void |
onToggleCollapse(SearchResult searchResult,
GraphContainer graphContainer)
This method is called if the
|
List<SearchResult> |
query(SearchQuery searchQuery,
GraphContainer graphContainer)
This API is for getting a list of
|
void |
refresh() |
void |
removeVertexHopCriteria(SearchResult searchResult,
GraphContainer container)
When the user requests that the current SearchResult be removed from focus, the search provider should remove the
|
void |
setIpInterfaceDao(IpInterfaceDao ipInterfaceDao) |
void |
setNodeDao(NodeDao nodeDao) |
boolean |
supportsPrefix(String searchPrefix)
This method is called by topology app the user is searching to setup prefixes that will only match from
a
|
getDefaultCriteria, getTopologyLocation, load, save, save, setTopologyLocation
addEdges, addGroup, addGroup, addVertex, addVertex, addVertices, clearCounters, connectVertices, connectVertices, getEdgeIdsForVertex, getEdgeIdsForVertices, getGroups, getNextEdgeId, getNextGroupId, getNextVertexId, getVerticesWithoutGroups, groupingSupported, removeEdges, removeVertex, resetContainer
addEdgeListener, addVertexListener, clearEdges, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, getParent, getRootGroup, getSemanticZoomLevel, getSimpleEdgeProvider, getSimpleVertexProvider, getVertex, getVertex, getVertexNamespace, getVertexTotalCount, getVertices, getVertices, hasChildren, removeEdgeListener, removeVertexListener, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEdges, addGroup, addVertex, addVertices, connectVertices, getDefaultCriteria, getEdgeIdsForVertex, getEdgeIdsForVertices, groupingSupported, load, removeEdges, removeVertex, resetContainer, save
addVertexListener, clearVertices, containsVertexId, containsVertexId, contributesTo, getChildren, getParent, getRootGroup, getSemanticZoomLevel, getVertex, getVertex, getVertexNamespace, getVertexTotalCount, getVertices, getVertices, hasChildren, removeVertexListener, setParent
addEdgeListener, clearEdges, contributesTo, getEdge, getEdge, getEdgeNamespace, getEdges, getEdges, removeEdgeListener
contributesTo
public static final String TOPOLOGY_NAMESPACE_VMWARE
public NodeDao getNodeDao()
public void setNodeDao(NodeDao nodeDao)
public IpInterfaceDao getIpInterfaceDao()
public void setIpInterfaceDao(IpInterfaceDao ipInterfaceDao)
public boolean isGenerated()
public void debug(Vertex vmwareVertex)
public void debugAll()
public void refresh()
refresh
in interface GraphProvider
refresh
in class SimpleGraphProvider
public void onFocusSearchResult(SearchResult searchResult, OperationContext operationContext)
SearchProvider
onFocusSearchResult
in interface SearchProvider
public void onDefocusSearchResult(SearchResult searchResult, OperationContext operationContext)
SearchProvider
onDefocusSearchResult
in interface SearchProvider
public void onCenterSearchResult(SearchResult searchResult, GraphContainer graphContainer)
SearchProvider
onCenterSearchResult
in interface SearchProvider
public void onToggleCollapse(SearchResult searchResult, GraphContainer graphContainer)
SearchProvider
onToggleCollapse
in interface SearchProvider
public String getSearchProviderNamespace()
SearchProvider
getSearchProviderNamespace
in interface SearchProvider
public boolean supportsPrefix(String searchPrefix)
SearchProvider
supportsPrefix
in interface SearchProvider
public Set<VertexRef> getVertexRefsBy(SearchResult searchResult, GraphContainer container)
SearchProvider
getVertexRefsBy
in interface SearchProvider
public void addVertexHopCriteria(SearchResult searchResult, GraphContainer container)
SearchProvider
addVertexHopCriteria
in interface SearchProvider
public void removeVertexHopCriteria(SearchResult searchResult, GraphContainer container)
SearchProvider
removeVertexHopCriteria
in interface SearchProvider
public List<SearchResult> query(SearchQuery searchQuery, GraphContainer graphContainer)
SearchProvider
query
in interface SearchProvider
searchQuery
- This is an API for Vaadin UI code for implementing various search queries types.Copyright © 2016. All rights reserved.