org.openxava.actions
Class ModifyFromReferenceAction

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

public class ModifyFromReferenceAction
extends NavigationFromReferenceBaseAction

Author:
Javier Paniza

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openxava.actions.ReferenceBaseAction
ReferenceBaseAction.ViewInfo
 
Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeControllersAction
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Constructor Summary
ModifyFromReferenceAction()
           
 
Method Summary
 void execute()
           
 java.lang.String getCustomController()
           
 java.lang.String getDefaultController()
           
 java.lang.String getNextAction()
          The qualified name of the next action to execute.
 java.lang.String[] getNextControllers()
           
 
Methods inherited from class org.openxava.actions.NavigationFromReferenceBaseAction
getController, getModel, isShowDialog, setController, setModel, setShowDialog
 
Methods inherited from class org.openxava.actions.ReferenceBaseAction
getKeyProperty, getReferenceSubview, getViewInfo, setKeyProperty, setReferenceSubview
 
Methods inherited from class org.openxava.actions.ViewBaseAction
closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView
 
Methods inherited from class org.openxava.actions.BaseAction
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getRequest, removeActions, returnToPreviousControllers, setContext, 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
 

Constructor Detail

ModifyFromReferenceAction

public ModifyFromReferenceAction()
Method Detail

execute

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

getCustomController

public java.lang.String getCustomController()
Specified by:
getCustomController in class NavigationFromReferenceBaseAction

getDefaultController

public java.lang.String getDefaultController()
Specified by:
getDefaultController in class NavigationFromReferenceBaseAction

getNextControllers

public java.lang.String[] getNextControllers()
                                      throws java.lang.Exception
Specified by:
getNextControllers in interface IChangeControllersAction
Overrides:
getNextControllers in class NavigationFromReferenceBaseAction
Throws:
java.lang.Exception

getNextAction

public java.lang.String getNextAction()
                               throws java.lang.Exception
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
Specified by:
getNextAction in class NavigationFromReferenceBaseAction
Throws:
java.lang.Exception