org.openxava.actions
Class CancelInListAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by org.openxava.actions.CancelInListAction
All Implemented Interfaces:
IAction, IChangeControllersAction, IChangeModeAction, ICustomViewAction, INavigationAction, IRequestAction

public class CancelInListAction
extends BaseAction
implements IChangeModeAction, INavigationAction

In list mode return to initial state (if we have navigated).

This action works well also in the case of list that is not the main list mode of the module, for example, from list used for searching references.

Author:
Javier Paniza

Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE
 
Fields inherited from interface org.openxava.actions.IChangeControllersAction
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
 
Fields inherited from interface org.openxava.actions.ICustomViewAction
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
 
Constructor Summary
CancelInListAction()
           
 
Method Summary
 void execute()
           
 java.lang.String getCustomView()
          The id of a view made directly by developer (not OpenXava view).
 java.lang.String[] getNextControllers()
           
 java.lang.String getNextMode()
           
 
Methods inherited from class org.openxava.actions.BaseAction
addError, addError, addError, addError, addError, addError, addError, addError, addErrors, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessages, executeAfter, executeBefore, getEnvironment, getErrors, getLocale, getMessages, resetDescriptionsCache, setEnvironment, setErrors, setMessages, 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

CancelInListAction

public CancelInListAction()
Method Detail

getNextMode

public java.lang.String getNextMode()
Specified by:
getNextMode in interface IChangeModeAction

execute

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

getNextControllers

public java.lang.String[] getNextControllers()
Specified by:
getNextControllers in interface IChangeControllersAction

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 versión 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 interface ICustomViewAction