com.beasys.commerce.ebusiness.payment
Class PaymentWorkflow
java.lang.Object
|
+--com.beasys.commerce.foundation.StateMachine
|
+--com.beasys.commerce.ebusiness.payment.PaymentWorkflow
- public class PaymentWorkflow
- extends StateMachine
- implements Workflow
------------------------------------------------------
These are the states provided by this StateMachine:
------------------------------------------------------
[Authorized]
[MarkedForSettle]
[PendingPartialSettle]
[PendingSettle]
[Rejected]
[SettleFailed]
[Settled]
[Retry]
[Start] Initial State
------------------------------------------------------
These are the transitions provided by this StateMachine:
------------------------------------------------------
authorize
[Start]------------->[Authorized]
failSettle
[Authorized]------------->[Authorized]
failSettle
[MarkedForSettle]------------->[MarkedForSettle]
markForSettle
[Authorized]------------->[MarkedForSettle]
partialSettle
[Authorized]------------->[PendingPartialSettle]
partialSettle
[MarkedForSettle]------------->[PendingPartialSettle]
pendingPartialSettle
[PendingPartialSettle]------------->[PendingPartialSettle]
pendingSettle
[PendingSettle]------------->[PendingSettle]
queryFail
[PendingPartialSettle]------------->[SettleFailed]
queryFail
[PendingSettle]------------->[SettleFailed]
querySuccess
[PendingPartialSettle]------------->[Authorized]
querySuccess
[PendingSettle]------------->[Settled]
reject
[Start]------------->[Rejected]
settle
[Authorized]------------->[PendingSettle]
settle
[MarkedForSettle]------------->[PendingSettle]
systemFailure
[Start]------------->[Retry]
failRetry
[Retry]------------->[Retry]
authorize
[Retry]------------->[Authorized]
- See Also:
Workflow
, Serialized Form
Constructor Summary
|
PaymentWorkflow()
Use WorkflowHome.create("com.beasys.commerce.ebusiness.payment.PaymentWorkflow") to instantiate the workflow. |
Methods inherited from class com.beasys.commerce.foundation.StateMachine |
addTransition,
doTransition,
getContext,
getCurrentStateName,
getInitialStateName,
getOutgoingTransitions,
getStateNames,
getTransitionNames,
lookAheadTransition,
reset,
setContext |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PaymentWorkflow
public PaymentWorkflow()
- Use WorkflowHome.create("com.beasys.commerce.ebusiness.payment.PaymentWorkflow") to instantiate the workflow.
Copyright © 2002 BEA Systems, Inc. All Rights Reserved