org.openxava.actions
Class ViewBaseAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
- All Implemented Interfaces:
- IAction, IChangeControllersAction, IChangeModeAction, IModuleContextAction, IRequestAction
- Direct Known Subclasses:
- AddImageToGalleryAction, CancelAction, CancelDialogAction, CancelFromCustomListAction, ChangeImageAction, ChooseReferenceAction, CollectionElementViewBaseAction, DeleteImageAction, EditGalleryAction, JasperReportBaseAction, LoadImageAction, LoadImageIntoGalleryAction, NewAction, OpenSearchDialogAction, ReferenceBaseAction, ReturnAction, SaveAction, SearchByViewKeyAction, SetEditableAction, SetSchemaAction, TabBaseAction, UpdateReferenceBaseAction
public abstract class ViewBaseAction
- extends BaseAction
- Author:
- Javier Paniza
| Methods inherited from class org.openxava.actions.BaseAction |
addActions, addError, addError, addError, addError, addError, addError, addError, addError, addErrors, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessage, addMessages, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextControllers, 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 |
ViewBaseAction
public ViewBaseAction()
showNewView
protected void showNewView()
- Creates a new view and shows it.
After it if you call to getView() it will return this new view.
- Since:
- 4m1
showView
protected void showView(View newView)
- Shows the specified view.
After it if you call to getView() it will be the specified view.
- Since:
- 4m2
showDialog
protected void showDialog(View viewToShowInDialog)
throws java.lang.Exception
- Shows the specified view inside a dialog.
After it if you call to getView() it will be the specified view.
- Throws:
java.lang.Exception- Since:
- 4m2
showDialog
protected void showDialog()
throws java.lang.Exception
- Creates a new view and shows it inside a dialog.
After it if you call to getView() it will return this new view.
- Throws:
java.lang.Exception- Since:
- 4m2
closeDialog
protected void closeDialog()
- Since:
- 4m2
returnToPreviousView
protected void returnToPreviousView()
- Since:
- 4m1
getPreviousView
protected View getPreviousView()
- Since:
- 4m1
getView
public View getView()
setView
public void setView(View view)
getModelName
protected java.lang.String getModelName()
resetDescriptionsCache
protected void resetDescriptionsCache()
- Reset the cache of all descriptions-list and
others uses of descriptionsEditors.
- Overrides:
resetDescriptionsCache in class BaseAction
getPreviousViews
public java.util.Stack getPreviousViews()
setPreviousViews
public void setPreviousViews(java.util.Stack previousViews)
setControllers
protected void setControllers(java.lang.String... controllers)
- Overrides:
setControllers in class BaseAction