market
Class SProcessSeller
java.lang.Object
sale.SaleProcess
market.SProcessMarket
market.SProcessSeller
- All Implemented Interfaces:
- Serializable, LogContext, Loggable, ProcessErrorCodes
public class SProcessSeller
- extends SProcessMarket
The seller process. This process handles the payment of the orders.
- See Also:
- Serialized Form
| Methods inherited from class sale.SaleProcess |
attach, attach, canQuit, detachBasket, detachContext, error, error, error, getBasket, getContext, getCurrentGate, getErrorGate, getErrorMsg, getLogData, getName, getQuitGate, 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 |
SProcessSeller
public SProcessSeller(String name)
- Parameters:
name - the name of the process.
getInitialGate
protected Gate getInitialGate()
- Attaches
FSSellerCustomerTable, its actions and the menu to uig_customerSelection.
- Specified by:
getInitialGate in class SaleProcess
- Returns:
- the set up
uig_customerSelection.
getCancelBuyGate
protected Gate getCancelBuyGate()
- Attaches a
MsgForm and its ok-action to uig_cancelBuy.
- Returns:
- the set up
uig_cancelBuy.
getNoCustomerGate
protected Gate getNoCustomerGate()
- Attaches a
MsgForm and its ok-action to uig_noCustomer.
- Returns:
- the set up
uig_noCustomer.
getOrderGate
protected Gate getOrderGate()
- Attaches
FSSellerOrderTable and its actions to uig_order.
- Returns:
- the set up
uig_order.
getCommitGate
public Gate getCommitGate()
- Attaches
FSSellerBill and its actions to uig_commit.
- Overrides:
getCommitGate in class SaleProcess
- Returns:
- the set up
uig_commit.
getRollbackGate
public Gate getRollbackGate()
- Overrides:
getRollbackGate in class SaleProcess
- Returns:
- the Gate to jump to if the selected customer has to be rolled back.
getLogGate
public Gate getLogGate()
- Attaches
MsgForm and its ok-action to uig_log.
- Overrides:
getLogGate in class SaleProcess
- Returns:
- the set up
uig_log.