|
SalesPoint Framework v3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsale.GateChangeTransition
Convenience implementation of a Transition that simply changes to another gate. Additionally, some other useful Transitions are provided.
Transition,
Gate,
Serialized Form| Field Summary | |
static Transition |
CHANGE_TO_COMMIT_GATE
Transition that will go to the calling process' commit gate. |
static Transition |
CHANGE_TO_LOG_GATE
Transition that will go to the calling process' log gate. |
static Transition |
CHANGE_TO_QUIT_GATE
Transition that will go to the calling process' quit gate. |
static Transition |
CHANGE_TO_ROLLBACK_GATE
Transition that will go to the calling process' rollback gate. |
static Transition |
CHANGE_TO_STOP_GATE
Transition that will go to the calling process' stop gate. |
protected Gate |
m_gTarget
The target gate. |
| Constructor Summary | |
GateChangeTransition(Gate gTarget)
Create a new GateChangeTransition. |
|
| Method Summary | |
Gate |
perform(SaleProcess p,
User u)
Perform the Transition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Gate m_gTarget
public static final Transition CHANGE_TO_ROLLBACK_GATE
rollback gate.
public static final Transition CHANGE_TO_COMMIT_GATE
commit gate.
public static final Transition CHANGE_TO_QUIT_GATE
quit gate.
public static final Transition CHANGE_TO_STOP_GATE
stop gate.
public static final Transition CHANGE_TO_LOG_GATE
log gate.
| Constructor Detail |
public GateChangeTransition(Gate gTarget)
gTarget - the Gate to change to.| Method Detail |
public final Gate perform(SaleProcess p,
User u)
perform in interface Transitionp - the process that triggered the Transitionu - the user currently active in the process' ProcessContext
null is a valid value,
causing the calling process to stop.
|
SalesPoint Framework v3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||