Package org.openxava.actions
Class GoListAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.GoListAction
-
- All Implemented Interfaces:
IAction
,IChainAction
,IChangeControllersAction
,IChangeModeAction
,ICustomViewAction
,IModuleContextAction
,INavigationAction
,IRequestAction
public class GoListAction extends BaseAction implements IChangeModeAction, INavigationAction, IChainAction
- Author:
- Javier Paniza
-
-
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
-
Fields inherited from interface org.openxava.actions.ICustomViewAction
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
-
-
Constructor Summary
Constructors Constructor Description GoListAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.lang.String
getCustomView()
The id of a view made directly by developer (not OpenXava view).Tab
getMainTab()
java.lang.String
getNextAction()
The qualified name of the next action to execute.java.lang.String[]
getNextControllers()
java.lang.String
getNextMode()
LIST, DETAIL or PREVIOUS_MODE.java.util.Stack
getPreviousViews()
Tab
getTab()
View
getView()
void
setMainTab(Tab maintTab)
void
setPreviousViews(java.util.Stack previousViews)
void
setTab(Tab tab)
void
setView(View view)
-
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, 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
-
getNextMode
public java.lang.String getNextMode()
Description copied from interface:IChangeModeAction
LIST, DETAIL or PREVIOUS_MODE.- Specified by:
getNextMode
in interfaceIChangeModeAction
- Overrides:
getNextMode
in classBaseAction
-
execute
public void execute() throws java.lang.Exception
-
getView
public View getView()
-
setView
public void setView(View view)
-
getTab
public Tab getTab()
-
setTab
public void setTab(Tab tab)
-
getNextControllers
public java.lang.String[] getNextControllers()
- Specified by:
getNextControllers
in interfaceIChangeControllersAction
-
getCustomView
public java.lang.String getCustomView()
Description copied from interface:ICustomViewAction
The id of a view made directly by developer (not OpenXava view).In web version is the name of jsp page (without .jsp extension). This is for inserting jsp (o swing) hand made view in our OpenXava application.
- Specified by:
getCustomView
in interfaceICustomViewAction
-
getMainTab
public Tab getMainTab()
-
setMainTab
public void setMainTab(Tab maintTab)
-
getPreviousViews
public java.util.Stack getPreviousViews()
-
setPreviousViews
public void setPreviousViews(java.util.Stack previousViews)
-
getNextAction
public java.lang.String getNextAction() throws java.lang.Exception
Description copied from interface:IChainAction
The 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:
getNextAction
in interfaceIChainAction
- Throws:
java.lang.Exception
-
-