Package org.openxava.actions
Class ReturnPreviousModuleAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ReturnPreviousModuleAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IChangeModuleAction
,IModuleContextAction
,IRequestAction
public class ReturnPreviousModuleAction extends BaseAction implements IChangeModuleAction
- 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.IChangeModuleAction
PREVIOUS_MODULE
-
-
Constructor Summary
Constructors Constructor Description ReturnPreviousModuleAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.lang.String
getNextModule()
The name of the module to go.boolean
hasReinitNextModule()
-
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, resetDescriptionsCache, returnToPreviousControllers, rollback, 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
-
-
-
-
Method Detail
-
execute
public void execute() throws java.lang.Exception
-
getNextModule
public java.lang.String getNextModule()
Description copied from interface:IChangeModuleAction
The name of the module to go.- Specified by:
getNextModule
in interfaceIChangeModuleAction
- Returns:
- if null no navigation is produces, and if PREVIOUS_MODULE then returns to the previous module.
-
hasReinitNextModule
public boolean hasReinitNextModule()
- Specified by:
hasReinitNextModule
in interfaceIChangeModuleAction
-
-