Videoautomat

Package videoautomat.transition

Class Summary
HandBackCalculateSumTransition a Transition that calculates the money the user get back, temporary re-adds the handed back videos to the VideoShops stock and change to the SaleProcessHandBack.getChangeGate().
LogOnFailTransition Transition that redirects to the process' initial gate.
LogOnTransition a Transition that proves the selected name and password and with success leads to the SaleProcessLogOn.getMainGate(), otherwise it returns the SaleProcessLogOn.getFaultGate().
RegisterOKTransition Transition to register a new User.
RentPayConfirmTransition Transition that temporary adds the selected videos to the AutomatUser.getVideoStock(), the inserted money to the VideoShop.getVideoStock() and from there transacts the change money
RentPayRollbackTransition Transition that rollback the money-transactions and leads back to the SaleProcessRent.getInitialGate()
RentSumUpTransition Transition that sums up the prices of the selected videos and leads to the SaleProcessRent.getPayGate(), if no video is selected it leads to the SaleProcessRent.getInitialGate()
 


Videoautomat