public interface Neo4jServer
| Modifier and Type | Method and Description |
|---|---|
List<org.neo4j.graphdb.Node> |
getChildren(org.neo4j.graphdb.Node id,
int offset,
int limit)
Retrieve the children nodes of a parent node (parent-child relation
dcterms:hasPart).
|
long |
getChildrenCount(org.neo4j.graphdb.Node id)
Retrieve the number of children for a specific node
|
String |
getCustomPath()
The URI path for the REST cal to initial structure
|
List<org.neo4j.graphdb.Node> |
getFollowingSiblings(org.neo4j.graphdb.Node id,
int limit)
Retrieve ordered list of children using a specific node as a child
following outbound edm:isNextInSequence relations
|
Hierarchy |
getInitialStruct(String id)
Get the initial hierachy for a specific Europeana id
|
org.neo4j.graphdb.Node |
getNode(String id)
Get node by its id
|
long |
getNodeIndex(org.neo4j.graphdb.Node node)
Get the order of the node within its hierarchy (local index)
|
org.neo4j.graphdb.Node |
getParent(org.neo4j.graphdb.Node id)
Retrieve the parent node of a node (parent relation dcterms:isPartOf)
|
List<org.neo4j.graphdb.Node> |
getPreceedingSiblings(org.neo4j.graphdb.Node id,
int limit)
Retrieve ordered list of children using a specific node as a child
following inbound edm:isNextInSequence relations
|
boolean |
isHierarchy(String id)
Check if the specified id belongs to a hierarchy
|
org.neo4j.graphdb.Node getNode(String id)
id - The id to search forList<org.neo4j.graphdb.Node> getChildren(org.neo4j.graphdb.Node id, int offset, int limit)
id - The node for which to retrieve the childrenoffset - from which child to start receiving fromlimit - how many children to receiveorg.neo4j.graphdb.Node getParent(org.neo4j.graphdb.Node id)
id - The node for which to retrieve the parentList<org.neo4j.graphdb.Node> getFollowingSiblings(org.neo4j.graphdb.Node id, int limit)
id - The node to start fromlimit - the number of nodes to retrieveList<org.neo4j.graphdb.Node> getPreceedingSiblings(org.neo4j.graphdb.Node id, int limit)
id - The node to start fromlimit - the number of nodes to retrievelong getChildrenCount(org.neo4j.graphdb.Node id)
id - The node to search onlong getNodeIndex(org.neo4j.graphdb.Node node)
node - A specific neo4j nodeHierarchy getInitialStruct(String id)
id - The id to search onString getCustomPath()
boolean isHierarchy(String id)
id - The Europeana idCopyright © 2015 Europeana Foundation. All rights reserved.