Videoautomat

videoautomat
Class SaleProcessRent

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

public class SaleProcessRent
extends sale.SaleProcess

This class implements a SaleProcess used to rent videos.

See Also:
Serialized Form

Field Summary
 
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
SaleProcessRent()
          Constructs a new SaleProcessRent
 
Method Summary
protected  sale.Gate getInitialGate()
          Implementation of the inherited abstract method.
 
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
 

Constructor Detail

SaleProcessRent

public SaleProcessRent()
Constructs a new SaleProcessRent

Method Detail

getInitialGate

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

Specified by:
getInitialGate in class sale.SaleProcess
Returns:
a Gate where the user makes a selection
See Also:
SaleProcess.getInitialGate()

Videoautomat