|
Spring Data Neo4j | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphBacked<STATE,ENTITY extends GraphBacked<STATE,ENTITY>>
super interface denoting entities that are graph backed, the backing STATE can be a Node
or a Relationship.
Subclasses of this interface bind the type parameter to a concrete Node or Relationship state.
| Method Summary | |
|---|---|
STATE |
getPersistentState()
|
boolean |
hasPersistentState()
|
void |
remove()
removes the entity using @{link Neo4jTemplate.removeNodeEntity} the entity and relationship are still accessible after removal but before transaction commit but all modifications will throw an exception |
void |
setPersistentState(STATE state)
internal setter used for initializing the graph-db state on existing or newly created entities |
| Methods inherited from interface org.springframework.data.neo4j.mapping.ManagedEntity |
|---|
getEntityState, persist |
| Method Detail |
|---|
void setPersistentState(STATE state)
setPersistentState in interface ManagedEntity<STATE,ENTITY extends GraphBacked<STATE,ENTITY>>state - (Node or Relationship)STATE getPersistentState()
getPersistentState in interface ManagedEntity<STATE,ENTITY extends GraphBacked<STATE,ENTITY>>boolean hasPersistentState()
void remove()
|
Spring Data Neo4j | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||