Package org.openxava.actions
Class ChangeModuleAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ChangeModuleAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IChangeModuleAction
,IModuleContextAction
,IRequestAction
public class ChangeModuleAction 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 ChangeModuleAction()
-
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()
boolean
isReinit()
void
setNextModule(java.lang.String siguienteModulo)
void
setReinit(boolean reinit)
-
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.
-
setNextModule
public void setNextModule(java.lang.String siguienteModulo)
-
hasReinitNextModule
public boolean hasReinitNextModule()
- Specified by:
hasReinitNextModule
in interfaceIChangeModuleAction
-
isReinit
public boolean isReinit()
-
setReinit
public void setReinit(boolean reinit)
-
-