Class ViewDetailAction
java.lang.Object
org.openxava.actions.BaseAction
org.openxava.actions.ViewBaseAction
org.openxava.actions.TabBaseAction
org.openxava.actions.ViewDetailAction
- All Implemented Interfaces:
IAction, IChainAction, IChangeModeAction, IModelAction, IModuleContextAction, IRequestAction
- Direct Known Subclasses:
CalendarViewDetailAction, DeleteAction
- Author:
- Javier Paniza
-
Field Summary
FieldsFields inherited from interface IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()intThe qualified name of the next action to execute.intgetRow()This property has value when the action has been clicked from the row.protected TabgetTab()booleanbooleanbooleanbooleanprotected voidsetAtListBegin(boolean b) voidsetDeleteAllSelected(boolean deleteAllSelected) voidsetGoFirst(boolean b) voidsetIncrement(int i) voidsetMainTab(Tab mainTab) voidvoidsetNextAction(String string) voidsetNextKey(Map nextKey) protected voidsetNoElementsInList(boolean b) voidsetRow(int i) Methods inherited from class TabBaseAction
getCollection, getSelected, getSelectedKeys, setCollection, setViewObjectMethods inherited from class ViewBaseAction
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValuesMethods inherited from class 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, setRequestMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
-
Field Details
-
key
-
model
-
-
Constructor Details
-
ViewDetailAction
public ViewDetailAction()
-
-
Method Details
-
getTab
- Overrides:
getTabin classTabBaseAction- Throws:
XavaException
-
execute
-
getRow
public int getRow()Description copied from class:TabBaseActionThis property has value when the action has been clicked from the row.If not its value is -1.
- Overrides:
getRowin classTabBaseAction
-
setRow
public void setRow(int i) - Overrides:
setRowin classTabBaseAction
-
getNextAction
Description copied from interface:IChainActionThe qualified name of the next action to execute.Qualified name is name of the controller + name of the action as in controllers.xml file. For example,
CRUD.new.- Specified by:
getNextActionin interfaceIChainAction- Throws:
XavaException
-
setNextAction
-
getIncrement
public int getIncrement() -
setIncrement
public void setIncrement(int i) -
isGoFirst
public boolean isGoFirst() -
setGoFirst
public void setGoFirst(boolean b) -
isNoElementsInList
public boolean isNoElementsInList() -
isAtListBegin
public boolean isAtListBegin() -
setNoElementsInList
protected void setNoElementsInList(boolean b) -
setAtListBegin
protected void setAtListBegin(boolean b) -
setModel
- Specified by:
setModelin interfaceIModelAction
-
getMainTab
-
setMainTab
-
getNextKey
-
setNextKey
-
isDeleteAllSelected
public boolean isDeleteAllSelected() -
setDeleteAllSelected
public void setDeleteAllSelected(boolean deleteAllSelected)
-