edu.uoc.exemplefw.commands
Class CustomerDetailCommand

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

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

Classe command per a la gestió del formulari per a les dades del client. Mitjançant aquest formulari es pot donar d'alta, es pot modificar, consultar i donar de baixa clients de l'aplicació.

Version:
1.0
Author:
Luis Bravo Fuentes

Field Summary
static java.lang.String ACCIO
           
static java.lang.String ID_SELECCIONAT
           
 
Fields inherited from class edu.uoc.fw.core.command.Command
COMMAND_MESSAGES, INPUT_VIEW
 
Constructor Summary
CustomerDetailCommand()
           
 
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
 

Field Detail

ID_SELECCIONAT

public static final java.lang.String ID_SELECCIONAT
See Also:
Constant Field Values

ACCIO

public static final java.lang.String ACCIO
See Also:
Constant Field Values
Constructor Detail

CustomerDetailCommand

public CustomerDetailCommand()
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