org.openxava.actions
Class ChangeSectionAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by org.openxava.actions.ChangeSectionAction
All Implemented Interfaces:
IAction, IChangeModeAction, IModuleContextAction, IRequestAction

public class ChangeSectionAction
extends BaseAction
implements IModuleContextAction

Author:
Javier Paniza

Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Constructor Summary
ChangeSectionAction()
           
 
Method Summary
 void execute()
           
 int getActiveSection()
           
 java.lang.String getViewObject()
           
 void setActiveSection(int i)
           
 void setContext(ModuleContext context)
           
 void setViewObject(java.lang.String viewObject)
           
 
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, 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

ChangeSectionAction

public ChangeSectionAction()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in interface IAction
Throws:
java.lang.Exception

getActiveSection

public int getActiveSection()

setActiveSection

public void setActiveSection(int i)

setContext

public void setContext(ModuleContext context)
Specified by:
setContext in interface IModuleContextAction
Overrides:
setContext in class BaseAction

getViewObject

public java.lang.String getViewObject()

setViewObject

public void setViewObject(java.lang.String viewObject)