@Lazy public class Neo4jSearchServiceImpl extends Object implements Neo4jSearchService
| Modifier and Type | Field and Description |
|---|---|
protected Neo4jServer |
neo4jServer |
| Constructor and Description |
|---|
Neo4jSearchServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Neo4jBean> |
getChildren(String rdfAbout)
Get the children of the node (max 10)
|
List<Neo4jBean> |
getChildren(String rdfAbout,
int offset)
Get the children of the node (max 10)
|
List<Neo4jBean> |
getChildren(String rdfAbout,
int offset,
int limit)
Get the children of the node (max 10)
|
long |
getChildrenCount(String rdfAbout)
Get the number of children this node has
|
List<Neo4jBean> |
getFollowingSiblings(String rdfAbout)
Get the node's 10 following siblings
|
List<Neo4jBean> |
getFollowingSiblings(String rdfAbout,
int limit)
Get the nodes following siblings
|
List<Neo4jBean> |
getFollowingSiblings(String rdfAbout,
int offset,
int limit)
Get the nodes following siblings
|
Neo4jBean |
getHierarchicalBean(String rdfAbout)
Get a node object
|
Neo4jStructBean |
getInitialStruct(String nodeId)
Get the initial structure, which contains self, the ancestors,
preceding and following siblings
|
List<Neo4jBean> |
getPrecedingSiblings(String rdfAbout)
Get the nodes preceding siblings (max 10)
|
List<Neo4jBean> |
getPrecedingSiblings(String rdfAbout,
int limit)
Get the nodes preceeding siblings
|
List<Neo4jBean> |
getPrecedingSiblings(String rdfAbout,
int offset,
int limit)
Get the nodes preceeding siblings
|
protected Neo4jServer neo4jServer
public List<Neo4jBean> getChildren(String rdfAbout, int offset, int limit)
Neo4jSearchServicegetChildren in interface Neo4jSearchServicerdfAbout - The ID of the recordoffset - The offset of the first childlimit - The number of records to retrievepublic List<Neo4jBean> getChildren(String rdfAbout, int offset)
Neo4jSearchServicegetChildren in interface Neo4jSearchServicerdfAbout - The ID of the recordoffset - The offset of the first childpublic List<Neo4jBean> getChildren(String rdfAbout)
Neo4jSearchServicegetChildren in interface Neo4jSearchServicerdfAbout - The ID of the recordpublic Neo4jBean getHierarchicalBean(String rdfAbout) throws Neo4JException
Neo4jSearchServicegetHierarchicalBean in interface Neo4jSearchServicerdfAbout - The ID of the recordNeo4JExceptionpublic List<Neo4jBean> getPrecedingSiblings(String rdfAbout, int offset, int limit) throws Neo4JException
Neo4jSearchServicegetPrecedingSiblings in interface Neo4jSearchServicerdfAbout - The ID of the recordoffset - How many siblings to skiplimit - How many siblings to retrieveNeo4JExceptionpublic List<Neo4jBean> getPrecedingSiblings(String rdfAbout, int limit) throws Neo4JException
Neo4jSearchServicegetPrecedingSiblings in interface Neo4jSearchServicerdfAbout - The ID of the recordlimit - How many siblings to retrieveNeo4JExceptionpublic List<Neo4jBean> getPrecedingSiblings(String rdfAbout) throws Neo4JException
Neo4jSearchServicegetPrecedingSiblings in interface Neo4jSearchServicerdfAbout - The ID of the recordNeo4JExceptionpublic List<Neo4jBean> getFollowingSiblings(String rdfAbout, int offset, int limit) throws Neo4JException
Neo4jSearchServicegetFollowingSiblings in interface Neo4jSearchServicerdfAbout - The ID of the recordoffset - How many siblings to skiplimit - How many siblings to retrieveNeo4JExceptionpublic List<Neo4jBean> getFollowingSiblings(String rdfAbout, int limit) throws Neo4JException
Neo4jSearchServicegetFollowingSiblings in interface Neo4jSearchServicerdfAbout - The ID of the recordlimit - How many siblings to retrieveNeo4JExceptionpublic List<Neo4jBean> getFollowingSiblings(String rdfAbout) throws Neo4JException
Neo4jSearchServicegetFollowingSiblings in interface Neo4jSearchServicerdfAbout - The ID of the recordNeo4JExceptionpublic long getChildrenCount(String rdfAbout) throws Neo4JException
Neo4jSearchServicegetChildrenCount in interface Neo4jSearchServiceNeo4JExceptionpublic Neo4jStructBean getInitialStruct(String nodeId) throws Neo4JException
Neo4jSearchServicegetInitialStruct in interface Neo4jSearchServicenodeId - The ID of the recordNeo4JExceptionCopyright © 2018 Europeana Foundation. All rights reserved.