edu.uoc.exemplefw.commands
Class LoginCommand

java.lang.Object
  extended by edu.uoc.fw.core.command.Command
      extended by edu.uoc.exemplefw.commands.LoginCommand

public class LoginCommand
extends edu.uoc.fw.core.command.Command

Classe command per a la gestió del login dels usuaris a l'aplicació

Version:
1.0
Author:
Luis Bravo Fuentes

Field Summary
 
Fields inherited from class edu.uoc.fw.core.command.Command
COMMAND_MESSAGES, INPUT_VIEW
 
Constructor Summary
LoginCommand()
           
 
Method Summary
 java.lang.String execute(edu.uoc.fw.core.context.ContextObject context, edu.uoc.fw.core.form.Form theForm)
           
 boolean validate(edu.uoc.fw.core.context.ContextObject context, edu.uoc.fw.core.form.Form theForm)
           
 
Methods inherited from class edu.uoc.fw.core.command.Command
getMessages
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginCommand

public LoginCommand()
Method Detail

execute

public java.lang.String execute(edu.uoc.fw.core.context.ContextObject context,
                                edu.uoc.fw.core.form.Form theForm)
Specified by:
execute in class edu.uoc.fw.core.command.Command

validate

public boolean validate(edu.uoc.fw.core.context.ContextObject context,
                        edu.uoc.fw.core.form.Form theForm)
Overrides:
validate in class edu.uoc.fw.core.command.Command