public class NCSEdgeProvider extends Object implements EdgeProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
NCSEdgeProvider.NCSEdge |
static class |
NCSEdgeProvider.NCSServiceCriteria |
static class |
NCSEdgeProvider.NCSVertex |
| Constructor and Description |
|---|
NCSEdgeProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdgeListener(EdgeListener vertexListener) |
void |
clearEdges() |
boolean |
contributesTo(String namespace)
This boolean returns true if the edges in this provider are intended
to contribute to or overlay another namespace
|
static Criteria |
createCriteria(Collection<Long> selectedIds) |
Edge |
getEdge(EdgeRef reference) |
Edge |
getEdge(String namespace,
String id) |
String |
getEdgeNamespace()
A string used to identify references belonging to this provider
May only container characters that make for a reasonable java identifier
such as letters digits and underscore (no colons, periods, commans etc.)
|
List<Edge> |
getEdges(Collection<? extends EdgeRef> references)
Return an immutable list of all edges that match this set of references.
|
List<Edge> |
getEdges(Criteria... criteria)
This factory works by using
NCSEdgeProvider.NCSServiceCriteria to construct edges based on
connecting all of the ServiceElements that make up a Service to each other. |
NCSComponentRepository |
getNcsComponentRepository() |
NodeDao |
getNodeDao() |
void |
removeEdgeListener(EdgeListener vertexListener) |
void |
setNcsComponentRepository(NCSComponentRepository dao) |
void |
setNodeDao(NodeDao dao) |
public NodeDao getNodeDao()
public void setNodeDao(NodeDao dao)
public NCSComponentRepository getNcsComponentRepository()
public void setNcsComponentRepository(NCSComponentRepository dao)
public void addEdgeListener(EdgeListener vertexListener)
addEdgeListener in interface EdgeProviderpublic Edge getEdge(String namespace, String id)
getEdge in interface EdgeProviderpublic Edge getEdge(EdgeRef reference)
getEdge in interface EdgeProviderpublic List<Edge> getEdges(Criteria... criteria)
NCSEdgeProvider.NCSServiceCriteria to construct edges based on
connecting all of the ServiceElements that make up a Service to each other.getEdges in interface EdgeProvidercriteria - An NCSEdgeProvider.NCSServiceCriteria objectpublic List<Edge> getEdges(Collection<? extends EdgeRef> references)
EdgeProvidergetEdges in interface EdgeProviderpublic String getEdgeNamespace()
EdgeProvidergetEdgeNamespace in interface EdgeProviderpublic boolean contributesTo(String namespace)
EdgeProvidercontributesTo in interface EdgeProvidernamespace - the namespace of a providerpublic void removeEdgeListener(EdgeListener vertexListener)
removeEdgeListener in interface EdgeProviderpublic static Criteria createCriteria(Collection<Long> selectedIds)
public void clearEdges()
clearEdges in interface EdgeProviderCopyright © 2020. All rights reserved.