org.openxava.actions
Class CancelAction

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

public class CancelAction
extends ViewBaseAction
implements INavigationAction, IRequestAction

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.ICustomViewAction
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
 
Constructor Summary
CancelAction()
           
 
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.util.Stack getPreviousViews()
           
 boolean isRestoreEditable()
           
 void setPreviousViews(java.util.Stack previousViews)
           
 void setRequest(HttpServletRequest request)
           
 void setRestoreEditable(boolean restoreEditable)
           
 
Methods inherited from class org.openxava.actions.ViewBaseAction
getModelName, getView, resetDescriptionsCache, setView
 
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, setEnvironment, setErrors, setMessages
 
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

CancelAction

public CancelAction()
Method Detail

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

getPreviousViews

public java.util.Stack getPreviousViews()

setPreviousViews

public void setPreviousViews(java.util.Stack previousViews)

isRestoreEditable

public boolean isRestoreEditable()

setRestoreEditable

public void setRestoreEditable(boolean restoreEditable)

setRequest

public void setRequest(HttpServletRequest request)
Specified by:
setRequest in interface IRequestAction
Overrides:
setRequest in class BaseAction