market
Class SProcessCustomer
java.lang.Object
|
+--sale.SaleProcess
|
+--market.SProcessMarket
|
+--market.SProcessCustomer
- All Implemented Interfaces:
- LogContext, Loggable, ProcessErrorCodes, Serializable
- public class SProcessCustomer
- extends SProcessMarket
The customer process. This process handles a customer's purchase.
- See Also:
- Serialized Form
Methods inherited from class sale.SaleProcess |
attach, attach, canQuit, detachBasket, detachContext, error, error, error, getBasket, getContext, getCurrentGate, getErrorGate, getErrorMsg, getLogData, getLogGate, getName, getQuitGate, getRollbackGate, getStopGate, isAlive, isResumed, isRunning, isSuspended, log, onFinished, onResumeOrStart, onSuspended, printErrorInfo, quit, resume, start, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SProcessCustomer
public SProcessCustomer(User user)
- Parameters:
user
- the customer who performs the purchase.
getInitialGate
protected Gate getInitialGate()
- Attaches
FSCustomerOfferTable
, its actions and the menu to #uig_selection
.
- Specified by:
getInitialGate
in class SaleProcess
- Returns:
- the set up
#uig_selection
.
getCommitGate
public Gate getCommitGate()
- Attaches
FSCustomerConfirmSelection
, its actions and the menu to #uig_commit
.
- Overrides:
getCommitGate
in class SaleProcess
- Returns:
- the set up
#uig_commit
.
getOkGate
public Gate getOkGate()
- Attaches a
MsgForm
and its OK-action to #uig_ok
.
- Returns:
- the set up
#uig_ok
.