org.openxava.actions
Class AddElementsToCollectionAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
org.openxava.actions.CollectionElementViewBaseAction
org.openxava.actions.SaveElementInCollectionAction
org.openxava.actions.AddElementsToCollectionAction
- All Implemented Interfaces:
- IAction, IChangeControllersAction, IChangeModeAction, ICustomViewAction, IModuleContextAction, INavigationAction, IRequestAction
public class AddElementsToCollectionAction
- extends SaveElementInCollectionAction
- implements INavigationAction
This is for the case of collections of entities without @AsEmbedded (or without as-aggregate="true").
The remainings cases are treated by SaveElementInCollectionAction.
This case add a group of entities from a list.
- 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 |
AddElementsToCollectionAction
public AddElementsToCollectionAction()
execute
public void execute()
throws java.lang.Exception
- Specified by:
execute in interface IAction- Overrides:
execute in class SaveElementInCollectionAction
- Throws:
java.lang.Exception
getNextAction
public java.lang.String getNextAction()
throws java.lang.Exception
- Overrides:
getNextAction in class SaveElementInCollectionAction
- Throws:
java.lang.Exception
getTab
public Tab getTab()
setTab
public void setTab(Tab web)
getNextControllers
public java.lang.String[] getNextControllers()
- Specified by:
getNextControllers in interface IChangeControllersAction
getCustomView
public java.lang.String getCustomView()
- Description copied from interface:
ICustomViewAction
- The id of a view made directly by developer (not OpenXava view).
In web version is the name of jsp page (without .jsp extension).
This is for inserting jsp (o swing) hand made view in our OpenXava application.
- Specified by:
getCustomView in interface ICustomViewAction
getRow
public int getRow()
setRow
public void setRow(int row)
setViewObject
public void setViewObject(java.lang.String viewObject)
- Overrides:
setViewObject in class CollectionElementViewBaseAction