Videoautomat

videoautomat.transition
Class RegisterOKTransition

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

public class RegisterOKTransition
extends Object

Transition to register a new users.User.

Author:
Tobias Ruch

Constructor Summary
RegisterOKTransition(RegisterContentCreator creator)
          Construts a new RegisterOKTransition with the given ContentCreator from wich the Transition is called.
 
Method Summary
 Gate perform(SaleProcess sp, User user)
          Implemeneted from the Transition-Interface to perform the registration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterOKTransition

public RegisterOKTransition(RegisterContentCreator creator)
Construts a new RegisterOKTransition with the given ContentCreator from wich the Transition is called.

Parameters:
creator - - RegisterContentCreator which calls this sale.Transition
Method Detail

perform

public Gate perform(SaleProcess sp,
                    User user)
Implemeneted from the Transition-Interface to perform the registration

Parameters:
sp - - the process that triggered the Transition
user - - the user currently active in the process' ProcessContext

Videoautomat