public class GraphIdDelegate extends Object implements Capability.GraphId
| Constructor and Description |
|---|
GraphIdDelegate(Neo4jSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
detachNodeEntity(Long id) |
boolean |
detachRelationshipEntity(Long id) |
Long |
resolveGraphIdFor(Object possibleEntity)
Resolve the graph id for a possible entity
|
public GraphIdDelegate(Neo4jSession session)
public Long resolveGraphIdFor(Object possibleEntity)
Capability.GraphIdresolveGraphIdFor in interface Capability.GraphIdpossibleEntity - the possible entityCapability.GraphId or null if either the object is not an entity or the id is null.public boolean detachNodeEntity(Long id)
detachNodeEntity in interface Capability.GraphIdpublic boolean detachRelationshipEntity(Long id)
detachRelationshipEntity in interface Capability.GraphIdCopyright © 2016 Neo Technology, Inc.. All rights reserved.