ui.command.IO
Class SaveUserCommand

java.lang.Object
  extended by ui.command.Command
      extended by ui.command.IO.SaveUserCommand

public class SaveUserCommand
extends Command


Field Summary
 
Fields inherited from class ui.command.Command
ABORT_STATUS, ERROR_STATUS, EXECUTE_STATUS, SUCCESS_STATUS, UNDEFINED_STATUS, VETOED_STATUS
 
Constructor Summary
SaveUserCommand(UserPanel userPanel, User user, boolean createNewUser)
           
 
Method Summary
protected  void execution()
           
protected  void prologo()
           
 
Methods inherited from class ui.command.Command
epilogue, getStatus, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveUserCommand

public SaveUserCommand(UserPanel userPanel,
                       User user,
                       boolean createNewUser)
Parameters:
userPanel - The UserPanel instance from wich must retrieve the User's data.
user - The instance of user that will be the result of this command.
createNewUser - States if that Command must create a new user or modify the User's data of an existing User instance.
Method Detail

prologo

protected void prologo()
Specified by:
prologo in class Command

execution

protected void execution()
                  throws java.lang.Exception
Specified by:
execution in class Command
Throws:
java.lang.Exception


Copyright © 2006 SF.net. All Rights Reserved.