Videoautomat

videoautomat
Class SaleProcessHandBack

java.lang.Object
  |
  +--sale.SaleProcess
        |
        +--videoautomat.SaleProcessHandBack
All Implemented Interfaces:
log.LogContext, log.Loggable, sale.ProcessErrorCodes, Serializable

public class SaleProcessHandBack
extends sale.SaleProcess

This class implements a SaleProcess to hand back the videos.

Author:
Alexander Herrmann
See Also:
Serialized Form

Field Summary
static String CHG_MONEY_KEY
           
static String MB_TEMP_KEY
           
static String SS_TEMP_KEY
           
 
Fields inherited from class sale.SaleProcess
LOGENTRYFILTER_PROCESSES_ONLY, m_gCurGate, m_tCurTransition
 
Fields inherited from interface sale.ProcessErrorCodes
DATABASKET_CONFLICT_ERROR, DUPLICATE_KEY_EXCEPTION, ERR_INTERNAL, ERR_LOWERBOUND, ERR_NOERROR, ERR_UPPERBOUND, NOT_ENOUGH_ELEMENTS_ERROR, REMOVE_VETO_EXCEPTION
 
Constructor Summary
SaleProcessHandBack()
          Constructs a new SaleProcessHandBack
 
Method Summary
 sale.Gate getChangeGate()
           
protected  sale.Gate getInitialGate()
          Implementation of the inherited abstract method.
 sale.Gate restart()
           
 
Methods inherited from class sale.SaleProcess
attach, attach, canQuit, detachBasket, detachContext, error, error, error, getBasket, getCommitGate, 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
 

Field Detail

SS_TEMP_KEY

public static final String SS_TEMP_KEY
See Also:
Constant Field Values

MB_TEMP_KEY

public static final String MB_TEMP_KEY
See Also:
Constant Field Values

CHG_MONEY_KEY

public static final String CHG_MONEY_KEY
See Also:
Constant Field Values
Constructor Detail

SaleProcessHandBack

public SaleProcessHandBack()
Constructs a new SaleProcessHandBack

Method Detail

getInitialGate

protected sale.Gate getInitialGate()
Implementation of the inherited abstract method.

Specified by:
getInitialGate in class sale.SaleProcess
Returns:
the Gate where the user will see his/her current rented videos.
See Also:
SaleProcess.getInitialGate()

restart

public sale.Gate restart()

getChangeGate

public sale.Gate getChangeGate()
Returns:
the Gate where the user will see his/her change money.

Videoautomat