public interface IResourceDAO extends IBasicDAO
Modifier and Type | Method and Description |
---|---|
fj.data.Either<List<ResourceMetadataData>,Neo4jOperationStatus> |
getAllResourcesData(Map<String,Object> propertiesToMatch)
the method retrieves all the resources according to the supplied
properties, if none or null is supplied all the resources will be
returned.
|
fj.data.Either<Integer,Neo4jOperationStatus> |
getNumberOfResourcesByName(String name) |
fj.data.Either<ResourceMetadataData,Neo4jOperationStatus> |
getResourceData(String id) |
void |
setNeo4jClient(Neo4jClient client) |
create, getNodeData, getNodeData, getNodesData
fj.data.Either<ResourceMetadataData,Neo4jOperationStatus> getResourceData(String id)
fj.data.Either<List<ResourceMetadataData>,Neo4jOperationStatus> getAllResourcesData(Map<String,Object> propertiesToMatch)
propertiesToMatch
- a map of properties to match.void setNeo4jClient(Neo4jClient client)
fj.data.Either<Integer,Neo4jOperationStatus> getNumberOfResourcesByName(String name)
Copyright © 2017. All rights reserved.