Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.globalSearch.ui
Class URLSearchAction

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.BaseSearchAction
      extended by oracle.apps.fnd.applcore.globalSearch.ui.URLSearchAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BaseSearchAction>
Direct Known Subclasses:
ECSFURLSearchAction

public class URLSearchAction
extends BaseSearchAction
implements java.io.Serializable

A Search Action for URL Task Types.

Author:
David Groves <david.groves@oracle.com>
See Also:
Serialized Form

Field Summary
protected  java.lang.String _URL
           
protected  java.lang.String _webApp
           
 
Fields inherited from class oracle.apps.fnd.applcore.globalSearch.ui.BaseSearchAction
_iconURL, _title, _toolTip, DEFAULT_TASK_FILE, DEFAULT_TASK_NAME, DEFAULT_UNRESOLVED_TITLE, PARAMETER_APPLICATION_STRIPE, PARAMETER_ICON_URL, PARAMETER_NAV_TASK_KEY_LIST, PARAMETER_NAV_TASK_LABEL, PARAMETER_NAV_TASK_PARAMETERS_LIST, PARAMETER_NEW_BROWSER_TAB, PARAMETER_PAGE_DEFINITION, PARAMETER_PAGE_PARAMETERS_LIST, PARAMETER_REQUEST_CONTEXT_PATH, PARAMETER_TASK_FILE, PARAMETER_TASK_NAME, PARAMETER_TOOLTIP, PARAMETER_VIEW_ID, PARAMETER_WEB_APP
 
Constructor Summary
URLSearchAction(java.lang.String title, java.lang.String URL, java.lang.String toolTip, java.lang.String iconURL)
          Construct this class.
 
Method Summary
 void evaluateParams()
          Evaluate all attributes except for the tile.
 void evaluateTitle()
          Evaluate the title attribute.
 java.lang.String getURL()
          Get the URL.
 java.lang.String getWebApp()
          Get the webApp property value.
 void resolveURL()
          Evaluate the URL.
 
Methods inherited from class oracle.apps.fnd.applcore.globalSearch.ui.BaseSearchAction
compareTo, getDefaultSearchAction, getIconURL, getIconURLExists, getTitle, getToolTip, getUnformattedTitle, isTaskAction, setDefaultSearchAction, setToolTip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_URL

protected java.lang.String _URL

_webApp

protected java.lang.String _webApp
Constructor Detail

URLSearchAction

public URLSearchAction(java.lang.String title,
                       java.lang.String URL,
                       java.lang.String toolTip,
                       java.lang.String iconURL)
Construct this class.

Parameters:
title - title to show the user.
URL - URL to use, may be fully qualified or relative.
toolTip - tooltip to show the user.
iconURL - Icon URL, possibly null.
Method Detail

evaluateTitle

public void evaluateTitle()
Evaluate the title attribute. This attribute may be expensive to determine and is needed only when displayed in the UI. At this level in the code this method does nothing.

Specified by:
evaluateTitle in class BaseSearchAction
See Also:
, #resolveURL

evaluateParams

public void evaluateParams()
Evaluate all attributes except for the tile. The attribute may be expensive to determine and are needed only when a result is clicked on in the UI. At this level in the code this method does nothing.

Specified by:
evaluateParams in class BaseSearchAction
See Also:
#evaluateTitle, #resolveURL

resolveURL

public void resolveURL()
Evaluate the URL. This may be expensive to determine and is needed only when displayed in the UI. At this level in the code this method does nothing.

See Also:
, #evaluateTitle

getURL

public java.lang.String getURL()
Get the URL. If there is a webApp parameter, and the URL is relative, then the deployment info for this url will be used to construct an absolute url of the form: ExternalServicesAdapter.getURLForNavigate(webApp) + "faces/" + url.

Returns:
URL.

getWebApp

public java.lang.String getWebApp()
Get the webApp property value.

Returns:
webApp property value.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.