Package org.openxava.actions
Class OnChangeSearchAction
- java.lang.Object
-
- org.openxava.actions.BaseAction
-
- org.openxava.actions.ViewBaseAction
-
- org.openxava.actions.OnChangePropertyBaseAction
-
- org.openxava.actions.OnChangeSearchAction
-
- All Implemented Interfaces:
IAction
,IChainAction
,IChainActionWithArgv
,IChangeModeAction
,IModuleContextAction
,IOnChangePropertyAction
,IRequestAction
public class OnChangeSearchAction extends OnChangePropertyBaseAction implements IChainActionWithArgv
The default action to execute for search a reference when the user types the value.- Author:
- Javier Paniza
-
-
Field Summary
-
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
-
-
Constructor Summary
Constructors Constructor Description OnChangeSearchAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
java.lang.String
getNextAction()
The qualified name of the next action to execute.java.lang.String
getNextActionArgv()
Values for filling the properties of the chained action.Tab
getTab()
void
setTab(Tab tab)
-
Methods inherited from class org.openxava.actions.OnChangePropertyBaseAction
getChangedMetaProperty, getChangedProperty, getNewValue, getView, setChangedProperty, setNewValue, showView
-
Methods inherited from class org.openxava.actions.ViewBaseAction
changeThisPropertyByViewValue, closeDialog, getModelName, getPreviousView, getPreviousViews, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, 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
-
Methods inherited from interface org.openxava.actions.IOnChangePropertyAction
setView
-
-
-
-
Method Detail
-
execute
public void execute() throws java.lang.Exception
-
getNextAction
public java.lang.String getNextAction() throws java.lang.Exception
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:
java.lang.Exception
-
getNextActionArgv
public java.lang.String getNextActionArgv() throws java.lang.Exception
Description copied from interface:IChainActionWithArgv
Values for filling the properties of the chained action.The chained action is the one returned in
IChainAction.getNextAction()
.
The values arguments returned by this method will fill the properties of the action.
The format is like this one:propertyA=valueA,propertyB=valueB
In this case, valueA will be injected in propertyA of the chained action, and valueB will be injected in the propertyB of chained action before execute it.- Specified by:
getNextActionArgv
in interfaceIChainActionWithArgv
- Returns:
- Throws:
java.lang.Exception
-
getTab
public Tab getTab()
-
setTab
public void setTab(Tab tab)
-
-