|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gui.transact.TrState
public abstract class TrState
This abstract class is the top of a hierarchy of transaction state classes.
Field Summary | |
---|---|
private boolean |
tasksCompleted
|
Constructor Summary | |
---|---|
TrState()
|
Method Summary | |
---|---|
protected boolean |
isTasksCompleted()
|
abstract void |
nextStep(Transaction tr)
Subclasses must decide which state follows when the user asks for executing the next step of the transaction |
abstract void |
runTasks(Transaction tr)
Subclasses must decide what to do when the user asks for executing the tasks required inside this state of the transaction. |
protected void |
setTasksCompleted(boolean tasksCompleted)
|
java.lang.String |
status()
Return a textual description of this state. |
void |
stopStateProcs(Transaction tr)
Subclasses must override this method in order to stop the processes started by the corresponding state tasks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean tasksCompleted
Constructor Detail |
---|
public TrState()
Method Detail |
---|
protected boolean isTasksCompleted()
protected void setTasksCompleted(boolean tasksCompleted)
public abstract void runTasks(Transaction tr)
public abstract void nextStep(Transaction tr)
public void stopStateProcs(Transaction tr)
public java.lang.String status()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |