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)
Defines if the current implementation contributes to the given namespace.
|
static Criteria |
createCriteria(Collection<Long> selectedIds) |
Edge |
getEdge(EdgeRef reference) |
Edge |
getEdge(String namespace,
String id) |
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. |
int |
getEdgeTotalCount() |
String |
getNamespace()
A string used to identify references belonging to this provider
May only contain characters that make for a reasonable Java identifier
such as letters digits and underscore (no colons, periods, commas etc.)
|
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 getNamespace()
NamespaceAwaregetNamespace in interface NamespaceAwarepublic boolean contributesTo(String namespace)
NamespaceAwareNamespaceAware.getNamespace(), but is not a requirement.contributesTo in interface NamespaceAwarenamespace - the namespace to contribute totrue, if the current implementation contributes to the given namespace, otherwise false.public void removeEdgeListener(EdgeListener vertexListener)
removeEdgeListener in interface EdgeProviderpublic static Criteria createCriteria(Collection<Long> selectedIds)
public void clearEdges()
clearEdges in interface EdgeProviderpublic int getEdgeTotalCount()
getEdgeTotalCount in interface EdgeProviderCopyright © 2018. All rights reserved.