org.openxava.actions
Class ReferenceSearchAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by org.openxava.actions.ViewBaseAction
          extended by org.openxava.actions.ReferenceBaseAction
              extended by org.openxava.actions.ReferenceSearchAction
All Implemented Interfaces:
IAction, IChangeControllersAction, IChangeModeAction, ICustomViewAction, IModuleContextAction, INavigationAction, IRequestAction

public class ReferenceSearchAction
extends ReferenceBaseAction
implements INavigationAction

Author:
Javier Paniza

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openxava.actions.ReferenceBaseAction
ReferenceBaseAction.ViewInfo
 
Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeControllersAction
DEFAULT_CONTROLLERS, EMPTY_CONTROLLER, PREVIOUS_CONTROLLERS, SAME_CONTROLLERS
 
Fields inherited from interface org.openxava.actions.ICustomViewAction
DEFAULT_VIEW, PREVIOUS_VIEW, SAME_VIEW
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Constructor Summary
ReferenceSearchAction()
           
 
Method Summary
 void execute()
           
 java.lang.String getCustomView()
          The id of a view made directly by developer (not OpenXava view).
 java.lang.String getNextController()
          By default "ReferenceSearch".
 java.lang.String[] getNextControllers()
           
 Tab getTab()
           
 java.lang.String getTabName()
           
 void setNextController(java.lang.String nextController)
          By default "ReferenceSearch".
 void setTab(Tab tab)
           
 void setTabName(java.lang.String tabName)
           
 
Methods inherited from class org.openxava.actions.ReferenceBaseAction
getKeyProperty, getReferenceSubview, getViewInfo, setKeyProperty, setReferenceSubview
 
Methods inherited from class org.openxava.actions.ViewBaseAction
closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView
 
Methods inherited from class org.openxava.actions.BaseAction
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, 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
 
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
 
Methods inherited from interface org.openxava.actions.IAction
getErrors, getMessages, setEnvironment, setErrors, setMessages
 

Constructor Detail

ReferenceSearchAction

public ReferenceSearchAction()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Specified by:
execute in interface IAction
Overrides:
execute in class ReferenceBaseAction
Throws:
java.lang.Exception

getNextControllers

public java.lang.String[] getNextControllers()
Specified by:
getNextControllers in interface IChangeControllersAction

getCustomView

public java.lang.String getCustomView()
Description copied from interface: ICustomViewAction
The id of a view made directly by developer (not OpenXava view).

In web version is the name of jsp page (without .jsp extension). This is for inserting jsp (o swing) hand made view in our OpenXava application.

Specified by:
getCustomView in interface ICustomViewAction

getTab

public Tab getTab()

setTab

public void setTab(Tab tab)

getNextController

public java.lang.String getNextController()
By default "ReferenceSearch".


setNextController

public void setNextController(java.lang.String nextController)
By default "ReferenceSearch".


getTabName

public java.lang.String getTabName()

setTabName

public void setTabName(java.lang.String tabName)