Package org.openxava.actions
Class OnChangeElementCollectionBaseAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.CollectionElementViewBaseAction
-
- org.openxava.actions.OnChangeElementCollectionBaseAction
-
- All Implemented Interfaces:
IAction
,IChangeModeAction
,IModuleContextAction
,IOnChangePropertyAction
,IRequestAction
- Direct Known Subclasses:
OnChangeChartColumnBaseAction
public abstract class OnChangeElementCollectionBaseAction extends CollectionElementViewBaseAction implements IOnChangePropertyAction
- Author:
- Federico Alcantara Handles on change when occurs on elements in collection action
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description OnChangeElementCollectionBaseAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getChangedProperty()
Gets the changed property.java.lang.Object
getNewValue()
int
getRow()
void
setChangedProperty(java.lang.String propertyName)
void
setNewValue(java.lang.Object value)
-
Methods inherited from class org.openxava.actions.CollectionElementViewBaseAction
closeDialog, execute, getCollectionElementView, getMetaCollection, getParentView, getView, getViewObject, isCloseDialogDisallowed, isEntityReferencesCollection, isEntityReferencesCollection, mustRefreshCollection, setCloseDialogDisallowed, setViewObject, showDialog, validateMaximum, validateMinimum
-
Methods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, 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
-
Methods inherited from interface org.openxava.actions.IOnChangePropertyAction
setView
-
-
-
-
Method Detail
-
setChangedProperty
public void setChangedProperty(java.lang.String propertyName)
- Specified by:
setChangedProperty
in interfaceIOnChangePropertyAction
-
getChangedProperty
public java.lang.String getChangedProperty()
Gets the changed property.- Returns:
- Returns the changed property name.
-
setNewValue
public void setNewValue(java.lang.Object value)
- Specified by:
setNewValue
in interfaceIOnChangePropertyAction
- See Also:
IOnChangePropertyAction.setNewValue(java.lang.Object)
-
getNewValue
public java.lang.Object getNewValue()
-
getRow
public int getRow()
-
-