Videoautomat

videoautomat
Class SaleProcessLogOn

java.lang.Object
  extended by SaleProcess
      extended by videoautomat.SaleProcessLogOn

public class SaleProcessLogOn
extends SaleProcess

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


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

Returns:
a Gate where the user selects it`s user-name and is asked for his/her password.
See Also:
sale.SaleProcess#getInitialGate()

restart

public Gate restart()
Returns the initial gate.

Returns:
intialGate

getFaultGate

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

getMainGate

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

Videoautomat