Package org.openxava.actions
Class UpdateReferenceBaseAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.UpdateReferenceBaseAction
-
- All Implemented Interfaces:
IAction
,IChangeControllersAction
,IChangeModeAction
,IModuleContextAction
,IRequestAction
- Direct Known Subclasses:
SaveNewAction
,UpdateAction
public abstract class UpdateReferenceBaseAction extends ViewBaseAction implements IChangeControllersAction
Update (update, create, etc) a reference from another view, and returns to the previous view after it.- 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
-
-
Constructor Summary
Constructors Constructor Description UpdateReferenceBaseAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getNextControllers()
protected java.util.Map
getValuesToSave()
protected void
returnsToPreviousViewUpdatingReferenceView(java.util.Map key)
-
Methods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValues
-
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, getNextMode, getQualifiedActionIfAvailable, getRequest, removeActions, returnToPreviousControllers, rollback, setContext, 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
execute, getErrors, getMessages, setEnvironment, setErrors, setMessages
-
-
-
-
Method Detail
-
returnsToPreviousViewUpdatingReferenceView
protected void returnsToPreviousViewUpdatingReferenceView(java.util.Map key) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getValuesToSave
protected java.util.Map getValuesToSave() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getNextControllers
public java.lang.String[] getNextControllers()
- Specified by:
getNextControllers
in interfaceIChangeControllersAction
-
-