Videoautomat

videoautomat
Class SaleProcessLogOn

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

public class SaleProcessLogOn
extends sale.SaleProcess

This class implements a SaleProcess used to log on and choose which activity should follow.

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

Constructor Detail

SaleProcessLogOn

public SaleProcessLogOn()
Constructs a new SaleProcessLogOn

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 selects it`s user-name and is asked for his/her password.
See Also:
SaleProcess.getInitialGate()

restart

public sale.Gate restart()

getFaultGate

public sale.Gate getFaultGate()
Returns:
a Gate that shows an error-message.

getMainGate

public sale.Gate getMainGate()
Returns:
a Gate where the user can select the next activity, like renting a video.

Videoautomat