public class AddElementsToCollectionAction extends SaveElementInCollectionAction implements INavigationAction
The remaining cases are treated by SaveElementInCollectionAction
.
This case add a group of entities from a list.
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
DETAIL, LIST, PREVIOUS_MODE, SPLIT
Constructor and Description |
---|
AddElementsToCollectionAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
java.lang.String |
getCustomView()
The id of a view made directly by developer (not OpenXava view).
|
java.lang.String |
getNextAction() |
java.lang.String[] |
getNextControllers() |
int |
getRow() |
Tab |
getTab() |
void |
setRow(int row) |
void |
setTab(Tab web) |
void |
setViewObject(java.lang.String viewObject) |
addValidationMessage, associateEntity, create, getValuesToSave, saveCollectionElement, saveIfNotExists
closeDialog, getCollectionElementView, getMetaCollection, getParentView, getView, getViewObject, isCloseDialogDisallowed, isEntityReferencesCollection, isEntityReferencesCollection, mustRefreshCollection, setCloseDialogDisallowed, showDialog, validateMaximum, validateMinimum
getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showNewView, showView, validateViewValues
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrors, getMessages, setEnvironment, setErrors, setMessages
public void execute() throws java.lang.Exception
execute
in interface IAction
execute
in class SaveElementInCollectionAction
java.lang.Exception
public java.lang.String getNextAction() throws java.lang.Exception
getNextAction
in class SaveElementInCollectionAction
java.lang.Exception
public Tab getTab()
public void setTab(Tab web)
public java.lang.String[] getNextControllers()
getNextControllers
in interface IChangeControllersAction
public java.lang.String getCustomView()
ICustomViewAction
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.
getCustomView
in interface ICustomViewAction
public int getRow()
public void setRow(int row)
public void setViewObject(java.lang.String viewObject)
setViewObject
in class CollectionElementViewBaseAction