Package org.openxava.actions
Class EditElementInCollectionAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
org.openxava.actions.CollectionElementViewBaseAction
org.openxava.actions.EditElementInCollectionAction
- All Implemented Interfaces:
IAction,IChangeModeAction,IModuleContextAction,IRequestAction
- Direct Known Subclasses:
EditElementInManyToManyCollectionAction,ViewElementInCollectionAction
- Author:
- Javier Paniza Modified by Federico Alcantara. Fix bug 2976466.
-
Field Summary
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()intintgetRow()booleanvoidsetNextValue(int nextValue) voidsetOpenDialog(boolean openDialog) voidsetRow(int i) protected voidMethods inherited from class org.openxava.actions.CollectionElementViewBaseAction
closeDialog, getCollectionElementView, getCollectionLabel, getMetaCollection, getMetaCollectionView, getParentView, getView, getViewObject, isCloseDialogDisallowed, isEntityReferencesCollection, isEntityReferencesCollection, mustRefreshCollection, setCloseDialogDisallowed, setViewObject, showDialog, validateMaximum, validateMinimumMethods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showNewView, showView, 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, setRequest
-
Constructor Details
-
EditElementInCollectionAction
public EditElementInCollectionAction()
-
-
Method Details
-
execute
- Specified by:
executein interfaceIAction- Specified by:
executein classCollectionElementViewBaseAction- Throws:
Exception
-
getRow
public int getRow() -
setRow
public void setRow(int i) -
getNextValue
public int getNextValue() -
setNextValue
public void setNextValue(int nextValue) -
isOpenDialog
public boolean isOpenDialog() -
setOpenDialog
public void setOpenDialog(boolean openDialog) -
setViewNameForEditIfNeeded
protected void setViewNameForEditIfNeeded()- Since:
- 7.7
-