videoautomat
Class SaleProcessLogOn
java.lang.Object
SaleProcess
videoautomat.SaleProcessLogOn
public class SaleProcessLogOn
- extends SaleProcess
This class implements a SaleProcess
used to log on and choose which activity should follow.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaleProcessLogOn
public SaleProcessLogOn()
- Constructs a new
SaleProcessLogOn
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()
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.