Package org.openxava.actions
Class NavigationFromReferenceBaseAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.ReferenceBaseAction
-
- org.openxava.actions.NavigationFromReferenceBaseAction
-
- All Implemented Interfaces:
IAction,IChainAction,IChangeControllersAction,IChangeModeAction,IModuleContextAction,IRequestAction
- Direct Known Subclasses:
CreateNewFromReferenceAction,ModifyFromReferenceAction
public abstract class NavigationFromReferenceBaseAction extends ReferenceBaseAction implements IChangeControllersAction, IChainAction
- 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 NavigationFromReferenceBaseAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute()java.lang.StringgetController()protected abstract java.lang.StringgetCustomController()protected abstract java.lang.StringgetDefaultController()java.lang.StringgetModel()abstract java.lang.StringgetNextAction()The qualified name of the next action to execute.java.lang.String[]getNextControllers()booleanisShowDialog()voidsetController(java.lang.String string)voidsetModel(java.lang.String string)voidsetShowDialog(boolean showDialog)-
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
-
getNextAction
public abstract java.lang.String getNextAction() throws java.lang.ExceptionDescription copied from interface:IChainActionThe 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:
getNextActionin interfaceIChainAction- Throws:
java.lang.Exception
-
getCustomController
protected abstract java.lang.String getCustomController()
-
getDefaultController
protected abstract java.lang.String getDefaultController()
-
execute
public void execute() throws java.lang.Exception- Specified by:
executein interfaceIAction- Overrides:
executein classReferenceBaseAction- Throws:
java.lang.Exception
-
getNextControllers
public java.lang.String[] getNextControllers() throws java.lang.Exception- Specified by:
getNextControllersin interfaceIChangeControllersAction- Throws:
java.lang.Exception
-
getModel
public java.lang.String getModel()
-
setModel
public void setModel(java.lang.String string)
-
getController
public java.lang.String getController() throws XavaException- Throws:
XavaException
-
setController
public void setController(java.lang.String string)
-
isShowDialog
public boolean isShowDialog()
-
setShowDialog
public void setShowDialog(boolean showDialog)
-
-