public class NewAction extends ViewBaseAction implements IChangeModeAction, IModelAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
Constructor and Description |
---|
NewAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
java.lang.String |
getNextMode()
LIST, DETAIL or PREVIOUS_MODE.
|
boolean |
isRestoreModel() |
void |
setModel(java.lang.String modelName) |
void |
setRestoreModel(boolean restoreModel) |
closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValues
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, commit, executeAction, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, 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
public java.lang.String getNextMode()
IChangeModeAction
getNextMode
in interface IChangeModeAction
getNextMode
in class BaseAction
public void setModel(java.lang.String modelName)
setModel
in interface IModelAction
public boolean isRestoreModel()
public void setRestoreModel(boolean restoreModel)