Videoautomat

videoautomat
Class SaleProcessRent

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

public class SaleProcessRent
extends SaleProcess

This class implements a SaleProcess used to rent videos.


Field Summary
static String MB_TEMP_KEY
          Key to the temp money bag for the porcess data of the process context
static String SUB_SHOP_MONEY
           
static String SUB_SHOP_VIDEO
           
static String SUB_TMP_MONEY
           
static String SUB_USER_VIDEO
           
static String SUM_KEY
           
 
Constructor Summary
SaleProcessRent()
          Constructs a new SaleProcessRent
 
Method Summary
 Gate getConfirmGate()
           
protected  Gate getInitialGate()
          Implementation of the inherited abstract method.
 Gate getPayGate()
           
 Gate restart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUB_SHOP_VIDEO

public static final String SUB_SHOP_VIDEO
See Also:
Constant Field Values

SUB_USER_VIDEO

public static final String SUB_USER_VIDEO
See Also:
Constant Field Values

SUB_TMP_MONEY

public static final String SUB_TMP_MONEY
See Also:
Constant Field Values

SUB_SHOP_MONEY

public static final String SUB_SHOP_MONEY
See Also:
Constant Field Values

MB_TEMP_KEY

public static final String MB_TEMP_KEY
Key to the temp money bag for the porcess data of the process context

See Also:
Constant Field Values

SUM_KEY

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

SaleProcessRent

public SaleProcessRent()
Constructs a new SaleProcessRent

Method Detail

getInitialGate

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

Returns:
a Gate where the user makes a selection
See Also:
sale.SaleProcess#getInitialGate()

restart

public Gate restart()

getPayGate

public Gate getPayGate()
Returns:
a Gate where the money gets inserted

getConfirmGate

public Gate getConfirmGate()
Returns:
a Gate where the selected videos and the change money is shown

Videoautomat