| Package | Description |
|---|---|
| com.impetus.kundera.graph | |
| com.impetus.kundera.lifecycle | |
| com.impetus.kundera.lifecycle.states |
| Modifier and Type | Field and Description |
|---|---|
private NodeState |
Node.currentNodeState |
private NodeState |
GraphBuilder.NodeBuilder.state |
| Modifier and Type | Method and Description |
|---|---|
private NodeState |
ObjectGraphBuilder.getChildNodeState(EntityMetadata metadata,
Object childObj) |
NodeState |
Node.getCurrentNodeState() |
| Modifier and Type | Method and Description |
|---|---|
private void |
ObjectGraphBuilder.addChildNodesToGraph(ObjectGraph graph,
Node node,
Relation relation,
Object childObject,
NodeState initialNodeState) |
private GraphBuilder.NodeBuilder |
GraphBuilder.NodeBuilder.assignState(NodeState state) |
Node |
GraphBuilder.buildNode(Object entity,
PersistenceDelegator pd,
Object entityId,
NodeState nodeState)
On build node.
|
(package private) <E> Node |
GraphGenerator.generate(E entity,
PersistenceDelegator delegator,
PersistenceCache pc,
NodeState state)
Generate graph for head node.
|
<E> ObjectGraph |
GraphGenerator.generateGraph(E entity,
PersistenceDelegator delegator,
NodeState state)
Generate entity graph and returns after assigning headnode.
|
private Node |
ObjectGraphBuilder.getNode(Object entity,
ObjectGraph graph,
NodeState initialNodeState)
Constructs and returns
Node representation for a given entity
object. |
ObjectGraph |
ObjectGraphBuilder.getObjectGraph(Object entity,
NodeState initialNodeState) |
void |
Node.setCurrentNodeState(NodeState currentNodeState) |
| Constructor and Description |
|---|
Node(String nodeId,
Class<?> nodeDataClass,
NodeState initialNodeState,
PersistenceCache pc,
Object primaryKey,
PersistenceDelegator pd) |
Node(String nodeId,
Object data,
NodeState initialNodeState,
PersistenceCache pc,
Object primaryKey,
PersistenceDelegator pd) |
| Modifier and Type | Method and Description |
|---|---|
NodeState |
NodeStateContext.getCurrentNodeState() |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeStateContext.setCurrentNodeState(NodeState nodeState) |
| Modifier and Type | Class and Description |
|---|---|
class |
DetachedState |
class |
ManagedState |
class |
RemovedState |
class |
TransientState |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
NodeState.moveNodeToNextState(NodeStateContext nodeStateContext,
NodeState nextState) |
Copyright © 2015. All Rights Reserved.