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

E22562-05

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

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.BackgroundSearchRunnable
All Implemented Interfaces:
java.lang.Runnable

public final class BackgroundSearchRunnable
extends java.lang.Object
implements java.lang.Runnable

A runnable for running background searches to extend the search results. This class will flag the search as backgroundSearched whether it succeeds or not, callers should check this flag before attempting to do a background search.

Author:
David Groves <david.groves@oracle.com>

Method Summary
 void run()
          Run the background search.
static void search(SearchResult sr, GlobalSearchSessionBean gssb)
          Perform a background search to extend the search result to SearchResult.BACKGROUND_SEARCH_BLOCK_SIZE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Run the background search.

Specified by:
run in interface java.lang.Runnable

search

public static void search(SearchResult sr,
                          GlobalSearchSessionBean gssb)
Perform a background search to extend the search result to SearchResult.BACKGROUND_SEARCH_BLOCK_SIZE. This search will be done in a separate thread so as not to interact with the user.

Parameters:
sr - search result to extend.
gssb - Session bean.

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.