Videoautomat

videoautomat.contentcreator.stdactions
Class RunProcessAction

java.lang.Object
  |
  +--videoautomat.contentcreator.stdactions.RunProcessAction
All Implemented Interfaces:
sale.Action, Serializable

public class RunProcessAction
extends Object
implements sale.Action

Standart action to start an SaleProcess.

Author:
Tobias Ruch
See Also:
Serialized Form

Constructor Summary
RunProcessAction(sale.SaleProcess process)
          Constructs a new action to start the process.
RunProcessAction(sale.SaleProcess process, data.DataBasket basket)
          Constructs a new action to start the process.
 
Method Summary
 void doAction(sale.SaleProcess saleProcess, sale.SalesPoint salePoint)
          Applies the action and start the given process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunProcessAction

public RunProcessAction(sale.SaleProcess process)
Constructs a new action to start the process.

Parameters:
process - - SaleProcess which should be started by this action.

RunProcessAction

public RunProcessAction(sale.SaleProcess process,
                        data.DataBasket basket)
Constructs a new action to start the process.

Parameters:
process - - SaleProcess which should be started by this action.
basket - - data.ooimpl.DataBasket attached to the process.
Method Detail

doAction

public void doAction(sale.SaleProcess saleProcess,
                     sale.SalesPoint salePoint)
              throws Throwable
Applies the action and start the given process.

Specified by:
doAction in interface sale.Action
Parameters:
saleProcess - - current sale.SaleProecess
salePoint - - current SalesPoint
Throwable

Videoautomat