Videoautomat

videoautomat.transition
Class RentPayRollbackTransition

java.lang.Object
  extended by videoautomat.transition.RentPayRollbackTransition

public class RentPayRollbackTransition
extends Object

Transition that rollback the money-transactions and leads back to the SaleProcessRent.getInitialGate()

Author:
Tobias Ruch

Constructor Summary
RentPayRollbackTransition()
           
 
Method Summary
 Gate perform(SaleProcess sp, User user)
          Performes the transition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RentPayRollbackTransition

public RentPayRollbackTransition()
Method Detail

perform

public Gate perform(SaleProcess sp,
                    User user)
Performes the transition.

Parameters:
sp - - current process
user - - current user of this process
Returns:
the new Gate which should be shown after the transition

Videoautomat