org.riotfamily.riot.list.command.dialog
Class DialogCommand

java.lang.Object
  extended by org.riotfamily.riot.list.command.core.AbstractCommand
      extended by org.riotfamily.riot.list.command.dialog.DialogCommand
All Implemented Interfaces:
Command, RiotRuntimeAware, BeanNameAware

public abstract class DialogCommand
extends AbstractCommand

Since:
6.4
Author:
Felix Gnass [fgnass at neteye dot de]

Field Summary
 
Fields inherited from class org.riotfamily.riot.list.command.core.AbstractCommand
log
 
Constructor Summary
DialogCommand()
           
 
Method Summary
abstract  Form createForm(Object bean)
           
 CommandResult execute(CommandContext context)
          Executes the command.
 String getFormSessionAttribute()
           
 ModelAndView handleInput(Object input, Object bean, ListSession listSession)
           
 ModelAndView handleInput(Object input, String button, Object bean, ListSession listSession)
           
 
Methods inherited from class org.riotfamily.riot.list.command.core.AbstractCommand
getAction, getConfirmationMessage, getDefaultMessageArgs, getId, getItemStyleClass, getLabel, getRuntime, getStyleClass, isEnabled, isShowOnForm, setBeanName, setId, setRiotRuntime, setShowOnForm, setStyleClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogCommand

public DialogCommand()
Method Detail

execute

public final CommandResult execute(CommandContext context)
Description copied from interface: Command
Executes the command.


getFormSessionAttribute

public String getFormSessionAttribute()

createForm

public abstract Form createForm(Object bean)

handleInput

public ModelAndView handleInput(Object input,
                                String button,
                                Object bean,
                                ListSession listSession)
Since:
8.1

handleInput

public ModelAndView handleInput(Object input,
                                Object bean,
                                ListSession listSession)