videoautomat.contentcreator.stdactions
Class TransitWithAction
java.lang.Object
|
+--videoautomat.contentcreator.stdactions.TransitWithAction
- All Implemented Interfaces:
- sale.Action, Serializable
- public class TransitWithAction
- extends Object
- implements sale.Action
Standart action to perform the given transition
- Author:
- Tobias Ruch
- See Also:
- Serialized Form
Constructor Summary |
TransitWithAction(sale.Transition transition)
Constructs an new action. |
Method Summary |
void |
doAction(sale.SaleProcess saleProcess,
sale.SalesPoint salePoint)
Performes the given transition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransitWithAction
public TransitWithAction(sale.Transition transition)
- Constructs an new action.
- Parameters:
transition
- - Transition of this action.
doAction
public void doAction(sale.SaleProcess saleProcess,
sale.SalesPoint salePoint)
throws Throwable
- Performes the given transition.
- Specified by:
doAction
in interface sale.Action
- Parameters:
saleProcess
- - current sale.SaleProecess
salePoint
- - current SalesPoint
Throwable