|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.graphs.GraphStep
public abstract class GraphStep
Single action performed by GraphState
.
Nested Class Summary | |
---|---|
static interface |
GraphStep.Callback
|
Field Summary | |
---|---|
EventContext |
ec
Information as to the current login. |
GraphEntry |
entry
GraphEntry instance which is active for this step. |
long |
id
The actual id to be deleted as opposed to GraphEntry.getId()
which is the id of the root object. |
int |
idx
Location of this step in GraphState.steps . |
Class<ome.model.IObject> |
iObjectType
Type of object which is being deleted, using during GraphState#release(String) to send an EventLogMessage . |
GraphStep |
parent
Final member of stack which is the direct ancestor of this
step. |
String |
pathMsg
String representation of the path to this GraphEntry used for
logging. |
GraphSpec |
spec
GraphSpec instance which is active for this step. |
LinkedList<GraphStep> |
stack
Stack of other GraphStep instances which show where this step is
in the entire graph. |
String |
table
Parsed table name used for the SQL/HQL statements. |
Constructor Summary | |
---|---|
GraphStep(int idx,
List<GraphStep> stack,
GraphSpec spec,
GraphEntry entry,
long[] ids)
|
Method Summary | |
---|---|
boolean |
hasSavepoint()
|
abstract void |
onRelease(Class<ome.model.IObject> k,
Set<Long> ids)
|
void |
pop(GraphOpts opts)
|
void |
push(GraphOpts opts)
|
void |
release(GraphStep.Callback cb)
|
void |
rollback(GraphStep.Callback cb)
|
void |
rollbackOnly()
|
String |
savepoint(GraphStep.Callback cb)
|
String |
start(GraphStep.Callback cb)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int idx
GraphState.steps
.
public final LinkedList<GraphStep> stack
GraphStep
instances which show where this step is
in the entire graph.
public final GraphStep parent
stack
which is the direct ancestor of this
step.
public final GraphSpec spec
GraphSpec
instance which is active for this step.
public final GraphEntry entry
GraphEntry
instance which is active for this step.
public final long id
GraphEntry.getId()
which is the id of the root object.
ids
public final String table
public final Class<ome.model.IObject> iObjectType
GraphState#release(String)
to send an EventLogMessage
.
public final String pathMsg
GraphEntry
used for
logging.
public final EventContext ec
Constructor Detail |
---|
public GraphStep(int idx, List<GraphStep> stack, GraphSpec spec, GraphEntry entry, long[] ids)
Method Detail |
---|
public void push(GraphOpts opts) throws GraphException
GraphException
public void pop(GraphOpts opts)
public void rollbackOnly()
public boolean hasSavepoint()
public String start(GraphStep.Callback cb) throws GraphException
GraphException
public String savepoint(GraphStep.Callback cb)
public void release(GraphStep.Callback cb) throws GraphException
GraphException
public abstract void onRelease(Class<ome.model.IObject> k, Set<Long> ids) throws GraphException
GraphException
public void rollback(GraphStep.Callback cb) throws GraphException
GraphException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.