Package org.openxava.actions
Class OnChangePropertyBaseAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
org.openxava.actions.OnChangePropertyBaseAction
- All Implemented Interfaces:
IAction,IChangeModeAction,IModuleContextAction,IOnChangePropertyAction,IRequestAction
- Direct Known Subclasses:
OnChangeChartBaseAction,OnChangeSearchAction
public abstract class OnChangePropertyBaseAction
extends ViewBaseAction
implements IOnChangePropertyAction
- Author:
- Javier Paniza
-
Field Summary
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MetaPropertygetView()The view where the on-change is declared.voidsetChangedProperty(String string) voidsetNewValue(Object object) protected voidShows the specified view.Methods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, validateViewValuesMethods 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, setRequestMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openxava.actions.IAction
execute, getErrors, getMessages, setEnvironment, setErrors, setMessagesMethods inherited from interface org.openxava.actions.IOnChangePropertyAction
setView
-
Constructor Details
-
OnChangePropertyBaseAction
public OnChangePropertyBaseAction()
-
-
Method Details
-
getNewValue
-
getChangedProperty
-
getChangedMetaProperty
- Throws:
XavaException
-
getView
The view where the on-change is declared.This may be the main view or the module (if property-view : on-change is declared in main view) or an subview (if it's declared inside a aggregate view, for example).
- Overrides:
getViewin classViewBaseAction- Returns:
-
setNewValue
- Specified by:
setNewValuein interfaceIOnChangePropertyAction
-
setChangedProperty
- Specified by:
setChangedPropertyin interfaceIOnChangePropertyAction
-
showView
Description copied from class:ViewBaseActionShows the specified view.After it if you call to getView() it will be the specified view.
- Overrides:
showViewin classViewBaseAction
-