org.openxava.actions
Class ChangeModuleAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by 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.IChangeModuleAction
PREVIOUS_MODULE
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Constructor Summary
ChangeModuleAction()
           
 
Method Summary
 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, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getRequest, removeActions, resetDescriptionsCache, returnToPreviousControllers, 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
 

Constructor Detail

ChangeModuleAction

public ChangeModuleAction()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in interface IAction
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 interface IChangeModuleAction
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 interface IChangeModuleAction

isReinit

public boolean isReinit()

setReinit

public void setReinit(boolean reinit)