org.openxava.actions
Class CreateNewFromReferenceAction

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.CreateNewFromReferenceAction
All Implemented Interfaces:
IAction, IChainAction, IChangeControllersAction, IChangeModeAction, IModuleContextAction, IRequestAction

public class CreateNewFromReferenceAction
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
CreateNewFromReferenceAction()
           
 
Method Summary
 java.lang.String getCustomController()
           
 java.lang.String getDefaultController()
           
 java.lang.String getNextAction()
          The qualified name of the next action to execute.
 
Methods inherited from class org.openxava.actions.NavigationFromReferenceBaseAction
execute, getController, getModel, getNextControllers, 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

CreateNewFromReferenceAction

public CreateNewFromReferenceAction()
Method Detail

getCustomController

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

getDefaultController

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

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