|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
org.openxava.actions.CollectionElementViewBaseAction
org.openxava.actions.SaveAndStayElementInCollectionAction
public class SaveAndStayElementInCollectionAction
To save a collection element.
The case of collections of entities with @AsEmbedded (or with as-aggregate="true")
is treated by AddElementsToCollectionAction.
| Field Summary |
|---|
| Fields inherited from interface org.openxava.actions.IChangeModeAction |
|---|
DETAIL, LIST, PREVIOUS_MODE, SPLIT |
| Constructor Summary | |
|---|---|
SaveAndStayElementInCollectionAction()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
java.lang.String |
getNextAction()
The qualified name of the next action to execute. |
java.lang.String |
getNextActionArgv()
Values for filling the properties of the chained action. |
| Methods inherited from class org.openxava.actions.CollectionElementViewBaseAction |
|---|
closeDialog, getCollectionElementView, getParentView, getView, getViewObject, isCloseDialogDisallowed, isEntityReferencesCollection, setCloseDialogDisallowed, setViewObject, showDialog |
| 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 |
| Constructor Detail |
|---|
public SaveAndStayElementInCollectionAction()
| Method Detail |
|---|
public void execute()
throws java.lang.Exception
execute in interface IActionexecute in class CollectionElementViewBaseActionjava.lang.Exception
public java.lang.String getNextAction()
throws java.lang.Exception
IChainAction
Qualified name is name of the controller + name of the
action as in controllers.xml file. For example,
CRUD.new.
getNextAction in interface IChainActionjava.lang.Exception
public java.lang.String getNextActionArgv()
throws java.lang.Exception
IChainActionWithArgv
The chained action is the one returned in IChainAction.getNextAction().
The values arguments returned by this method will fill the properties of the action.
The format is like this one:
propertyA=valueA,propertyB=valueBIn this case, valueA will be injected in propertyA of the chained action, and valueB will be injected in the propertyB of chained action before execute it.
getNextActionArgv in interface IChainActionWithArgvjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||