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.Mapkeyprotected java.lang.Stringmodel-
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 voidexecute()intgetIncrement()TabgetMainTab()java.lang.StringgetNextAction()The qualified name of the next action to execute.java.util.MapgetNextKey()intgetRow()This property has value when the action has been clicked from the row.protected TabgetTab()booleanisAtListBegin()booleanisDeleteAllSelected()booleanisGoFirst()booleanisNoElementsInList()protected voidsetAtListBegin(boolean b)voidsetDeleteAllSelected(boolean deleteAllSelected)voidsetGoFirst(boolean b)voidsetIncrement(int i)voidsetMainTab(Tab mainTab)voidsetModel(java.lang.String modelName)voidsetNextAction(java.lang.String string)voidsetNextKey(java.util.Map nextKey)protected voidsetNoElementsInList(boolean b)voidsetRow(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:
getTabin classTabBaseAction- Throws:
XavaException
-
execute
public void execute() throws java.lang.Exception
-
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
public java.lang.String getNextAction() throws XavaExceptionDescription 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
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:
setModelin 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)
-
-