org.openxava.actions
Class GoDetailAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by org.openxava.actions.GoDetailAction
All Implemented Interfaces:
IAction, IChainAction, IChangeControllersAction, IChangeModeAction, IModuleContextAction, IRequestAction

public class GoDetailAction
extends BaseAction
implements IChangeModeAction, IChainAction, IChangeControllersAction

Author:
Javier Paniza

Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Fields inherited from interface org.openxava.actions.IChangeControllersAction
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
 
Constructor Summary
GoDetailAction()
           
 
Method Summary
 void execute()
           
 java.lang.String getNextAction()
          The qualified name of the next action to execute.
 java.lang.String[] getNextControllers()
           
 java.lang.String getNextMode()
          LIST, DETAIL or PREVIOUS_MODE.
 Tab getTab()
           
 void setNextAction(java.lang.String string)
           
 void setTab(Tab tab)
           
 
Methods inherited from class org.openxava.actions.BaseAction
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getRequest, removeActions, resetDescriptionsCache, returnToPreviousControllers, setContext, setControllers, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
 
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
 

Constructor Detail

GoDetailAction

public GoDetailAction()
Method Detail

getNextMode

public java.lang.String getNextMode()
Description copied from interface: IChangeModeAction
LIST, DETAIL or PREVIOUS_MODE.

Specified by:
getNextMode in interface IChangeModeAction
Overrides:
getNextMode in class BaseAction

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in interface IAction
Throws:
java.lang.Exception

getNextAction

public java.lang.String getNextAction()
                               throws XavaException
Description copied from interface: IChainAction
The qualified name of the next action to execute.

Qualified name is name of the controller + name of the action as in controllers.xml file. For example, CRUD.new.

Specified by:
getNextAction in interface IChainAction
Throws:
XavaException

setNextAction

public void setNextAction(java.lang.String string)

getNextControllers

public java.lang.String[] getNextControllers()
Specified by:
getNextControllers in interface IChangeControllersAction

getTab

public Tab getTab()

setTab

public void setTab(Tab tab)