Package org.openxava.actions
Class GoAddElementsToCollectionAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.CollectionElementViewBaseAction
-
- org.openxava.actions.GoAddElementsToCollectionAction
-
- All Implemented Interfaces:
IAction
,IChangeControllersAction
,IChangeModeAction
,ICustomViewAction
,IModuleContextAction
,INavigationAction
,IRequestAction
public class GoAddElementsToCollectionAction extends CollectionElementViewBaseAction implements INavigationAction
- Author:
- Javier Paniza
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeControllersAction
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
Fields inherited from interface org.openxava.actions.ICustomViewAction
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
-
-
Constructor Summary
Constructors Constructor Description GoAddElementsToCollectionAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.lang.String
getCollectionViewObject()
java.lang.String
getCurrentCollectionLabel()
java.lang.String
getCustomView()
The id of a view made directly by developer (not OpenXava view).java.lang.String
getNextController()
By default "AddToCollection".java.lang.String[]
getNextControllers()
Tab
getTab()
void
setCollectionViewObject(java.lang.String collectionViewObject)
void
setCurrentCollectionLabel(java.lang.String string)
void
setNextController(java.lang.String nextController)
By default "AddToCollection".void
setTab(Tab tab)
-
Methods inherited from class org.openxava.actions.CollectionElementViewBaseAction
closeDialog, 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
getErrors, getMessages, setEnvironment, setErrors, setMessages
-
-
-
-
Method Detail
-
execute
public void execute() throws java.lang.Exception
- Specified by:
execute
in interfaceIAction
- Specified by:
execute
in classCollectionElementViewBaseAction
- Throws:
java.lang.Exception
-
getNextControllers
public java.lang.String[] getNextControllers()
- Specified by:
getNextControllers
in interfaceIChangeControllersAction
-
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 interfaceICustomViewAction
-
getTab
public Tab getTab()
-
setTab
public void setTab(Tab tab)
-
getCurrentCollectionLabel
public java.lang.String getCurrentCollectionLabel()
-
setCurrentCollectionLabel
public void setCurrentCollectionLabel(java.lang.String string)
-
getNextController
public java.lang.String getNextController()
By default "AddToCollection".
-
setNextController
public void setNextController(java.lang.String nextController)
By default "AddToCollection".
-
getCollectionViewObject
public java.lang.String getCollectionViewObject()
-
setCollectionViewObject
public void setCollectionViewObject(java.lang.String collectionViewObject)
-
-