org.openxava.actions
Class CollectionElementViewBaseAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
org.openxava.actions.CollectionElementViewBaseAction
- All Implemented Interfaces:
- IAction, IChangeModeAction, IModuleContextAction, IRequestAction
- Direct Known Subclasses:
- CollectionBaseAction, CreateNewElementInCollectionAction, EditCustomReportColumnAction, EditElementInCollectionAction, GoAddElementsToCollectionAction, HideDetailElementInCollectionAction, NewTreeViewItemAction, RemoveElementFromCollectionAction, RemoveTreeViewNodeAction, SaveAndStayElementInCollectionAction, SaveCustomReportColumnAction, SaveElementInCollectionAction, SaveElementInManyToManyCollectionAction, TreeViewExpandCollapseAction, TreeViewMoveNodeAction, UpdateElementInManyToManyCollectionAction
public abstract class CollectionElementViewBaseAction
- extends ViewBaseAction
- Author:
- Javier Paniza
| Methods inherited from class org.openxava.actions.ViewBaseAction |
getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showNewView, showView |
| Methods inherited from class org.openxava.actions.BaseAction |
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getRequest, removeActions, returnToPreviousControllers, 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 |
CollectionElementViewBaseAction
public CollectionElementViewBaseAction()
execute
public abstract void execute()
throws java.lang.Exception
- Throws:
java.lang.Exception
getView
public View getView()
- Overrides:
getView in class ViewBaseAction
mustRefreshCollection
protected boolean mustRefreshCollection()
showDialog
protected void showDialog(View viewToShowInDialog)
throws java.lang.Exception
- Description copied from class:
ViewBaseAction
- Shows the specified view inside a dialog.
After it if you call to getView() it will be the specified view.
- Overrides:
showDialog in class ViewBaseAction
- Throws:
java.lang.Exception
getParentView
protected View getParentView()
throws XavaException
- Throws:
XavaException- Since:
- 4m5
getCollectionElementView
protected View getCollectionElementView()
throws XavaException
- Throws:
XavaException
isEntityReferencesCollection
protected boolean isEntityReferencesCollection()
throws XavaException
- Throws:
XavaException
getViewObject
public java.lang.String getViewObject()
setViewObject
public void setViewObject(java.lang.String viewObject)
closeDialog
protected void closeDialog()
- Overrides:
closeDialog in class ViewBaseAction
setCloseDialogDisallowed
public void setCloseDialogDisallowed(boolean closeDialogDisallowed)
isCloseDialogDisallowed
public boolean isCloseDialogDisallowed()