Package org.openxava.actions
Class CreateNewFromReferenceAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.ReferenceBaseAction
-
- org.openxava.actions.NavigationFromReferenceBaseAction
-
- 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
Constructors Constructor Description CreateNewFromReferenceAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValues
-
Methods inherited from class org.openxava.actions.BaseAction
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, commit, executeAction, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getQualifiedActionIfAvailable, getRequest, removeActions, returnToPreviousControllers, rollback, 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
-
-
-
-
Method Detail
-
getCustomController
public java.lang.String getCustomController()
- Specified by:
getCustomController
in classNavigationFromReferenceBaseAction
-
getDefaultController
public java.lang.String getDefaultController()
- Specified by:
getDefaultController
in classNavigationFromReferenceBaseAction
-
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 interfaceIChainAction
- Specified by:
getNextAction
in classNavigationFromReferenceBaseAction
- Throws:
java.lang.Exception
-
-