Package org.openxava.actions
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
public class ViewDetailAction extends TabBaseAction implements IChainAction, IModelAction
- Author:
- Javier Paniza
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map
key
protected java.lang.String
model
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description ViewDetailAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
int
getIncrement()
Tab
getMainTab()
java.lang.String
getNextAction()
The qualified name of the next action to execute.java.util.Map
getNextKey()
int
getRow()
This property has value when the action has been clicked from the row.protected Tab
getTab()
boolean
isAtListBegin()
boolean
isDeleteAllSelected()
boolean
isGoFirst()
boolean
isNoElementsInList()
protected void
setAtListBegin(boolean b)
void
setDeleteAllSelected(boolean deleteAllSelected)
void
setGoFirst(boolean b)
void
setIncrement(int i)
void
setMainTab(Tab mainTab)
void
setModel(java.lang.String modelName)
void
setNextAction(java.lang.String string)
void
setNextKey(java.util.Map nextKey)
protected void
setNoElementsInList(boolean b)
void
setRow(int i)
-
Methods inherited from class org.openxava.actions.TabBaseAction
getCollection, getSelected, getSelectedKeys, setCollection, setViewObject
-
Methods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, 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
-
getTab
protected Tab getTab() throws XavaException
- Overrides:
getTab
in classTabBaseAction
- Throws:
XavaException
-
execute
public void execute() throws java.lang.Exception
-
getRow
public int getRow()
Description copied from class:TabBaseAction
This property has value when the action has been clicked from the row.If not its value is -1.
- Overrides:
getRow
in classTabBaseAction
-
setRow
public void setRow(int i)
- Overrides:
setRow
in classTabBaseAction
-
getNextAction
public java.lang.String getNextAction() throws XavaException
Description copied from interface:IChainAction
The 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:
getNextAction
in interfaceIChainAction
- Throws:
XavaException
-
setNextAction
public void setNextAction(java.lang.String string)
-
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
public void setModel(java.lang.String modelName)
- Specified by:
setModel
in interfaceIModelAction
-
getMainTab
public Tab getMainTab()
-
setMainTab
public void setMainTab(Tab mainTab)
-
getNextKey
public java.util.Map getNextKey()
-
setNextKey
public void setNextKey(java.util.Map nextKey)
-
isDeleteAllSelected
public boolean isDeleteAllSelected()
-
setDeleteAllSelected
public void setDeleteAllSelected(boolean deleteAllSelected)
-
-