|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.globalSearch.util.GlobalSearchUtil
public final class GlobalSearchUtil
Utility class designed to be used in conjunction with a backing bean to a page component, that will allow that component to kick off a Global Search and display the Global Search Results window. Only usable if the component is on a page that is running inside of a UIShell for example a UIShellMainArea. template.
Method Summary | |
---|---|
static java.util.List<SearchCategory> |
getCategories()
Get a list of all the SearchCategory objects. |
static void |
runSearch(java.util.List<SearchCategory> searchCategories,
java.util.List<SearchCategory> allCategories,
java.lang.String searchString,
java.lang.String callerContext,
javax.faces.event.ActionEvent e,
java.awt.Dimension popupDimension)
Run a search from a backing bean and have the search results ui component display at a set size. |
static void |
runSearch(java.util.List<SearchCategory> searchCategories,
java.lang.String searchString,
java.lang.String callerContext,
javax.faces.event.ActionEvent e)
Run a search from a backing bean and have the search results ui component display. |
static void |
runSearch(java.util.List<SearchCategory> searchCategories,
java.lang.String searchString,
java.lang.String callerContext,
javax.faces.event.ActionEvent e,
java.awt.Dimension popupDimension)
Run a search from a backing bean and have the search results ui component display at a set size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void runSearch(java.util.List<SearchCategory> searchCategories, java.lang.String searchString, java.lang.String callerContext, javax.faces.event.ActionEvent e)
searchCategories
- A list of SearchCategory objects to search within.
Can be obtained by calling getCategories() from this class.searchString
- The string to search oncallerContext
- a String which represents to the caller, the context
in which the search result will be called. This primarily relates to saved
searches, which will be saved with this context, and only saved searches
with this context shown to the user.e
- The ActionEvent from the page UIComponent that triggered this
functionality.public static void runSearch(java.util.List<SearchCategory> searchCategories, java.lang.String searchString, java.lang.String callerContext, javax.faces.event.ActionEvent e, java.awt.Dimension popupDimension)
searchCategories
- A list of SearchCategory objects to search within.
Can be obtained by calling getCategories() from this class.searchString
- The string to search oncallerContext
- a String which represents to the caller, the context
in which the search result will be called. This primarily relates to saved
searches, which will be saved with this context, and only saved searches
with this context shown to the user.e
- The ActionEvent from the page UIComponent that triggered this
functionality.popupDimension
- A Dimension object containing the height and width
to display the search results popup.public static void runSearch(java.util.List<SearchCategory> searchCategories, java.util.List<SearchCategory> allCategories, java.lang.String searchString, java.lang.String callerContext, javax.faces.event.ActionEvent e, java.awt.Dimension popupDimension)
searchCategories
- A list of SearchCategory objects to search within.
Can be obtained by calling getCategories() from this class. It is expected
that this list is a subset of allCategories.allCategories
- A list of all the SearchCategory objects to search within.
Can be obtained by calling getCategories() from this class.searchString
- The string to search oncallerContext
- a String which represents to the caller, the context
in which the search result will be called. This primarily relates to saved
searches, which will be saved with this context, and only saved searches
with this context shown to the user.e
- The ActionEvent from the page UIComponent that triggered this
functionality.popupDimension
- A Dimension object containing the height and width
to display the search results popup.public static java.util.List<SearchCategory> getCategories()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |