|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.globalSearch.ui.ecsf.ECSFSearchUtils
public final class ECSFSearchUtils
ECSF specific utilities for Global Search.
Field Summary | |
---|---|
static java.lang.String |
ECSF_GLOBAL_SCOPE
ECSF Global Scope. |
static java.lang.String |
ECSF_LOCAL_SCOPE
ECSF Local Scope. |
Method Summary | |
---|---|
static void |
addQueryWarnings(SearchResult sr,
oracle.ecsf.HitsMetaData hmd)
Check to see if there were problems with the search and if so report them. |
static void |
deriveCategoryCount(TreeItem catTI)
Derive a count for the category Tree Item, calculated as sum of counts for SOs, as long as all SOs have known counts. |
static void |
deriveSOCount(TreeItem catTI)
Derive a count for the Child Searchable Object Tree Ite from the category, in the case where the category count is known and there is only one SO. |
static void |
fillFacetTreePaths(oracle.ecsf.SearchContext searchContext,
SearchResult sr)
For the given Search Result, run phantom queries up all FACET_ITEM selection paths to flesh out the tree with siblings (including counts). |
static oracle.ecsf.SearchContext |
getLocalSearchContext()
Factory method for looking up the ECSF Search Context and binding the current user. |
static oracle.ecsf.SearchContext |
getSearchContext()
Factory method for looking up the ECSF Search Context and binding the current user. |
static oracle.ecsf.client.SearchCtrl |
getSearchControl()
Factory method for looking up the ECSF Search Control. |
static java.lang.String |
getUserDefinedScopeValue()
Get the value that the user defined for the ecsf scope. |
static boolean |
hasMetadataWarnings(oracle.ecsf.SearchContext searchContext,
java.lang.String APICall)
Check to see if there are metadata warnings when running APICall. |
static boolean |
isECSFConfigured()
Factory method for determining if ECSF is configured or not. |
static void |
populateSavedSearchFacetTree(oracle.ecsf.SearchContext searchContext,
SearchResult sr)
In cases where a saved search has been run and searchable object and facet selections have been made, this method fills the facet tree along the facet path using phantom queries. |
static void |
releaseSearchContext(oracle.ecsf.SearchContext searchContext)
Release the ECSF Search Context object. |
static void |
runPhantomQuery(oracle.ecsf.SearchContext searchContext,
SearchResult sr,
TreeItem ti)
Run a phantom query within the context of the given search result and Attribute tree item. |
static void |
runPhantomQuery(SearchResult sr,
TreeItem ti)
Run a phantom query within the context of the given search result and Attribute tree item. |
static java.lang.String |
validateScope(java.lang.String userDefinedScope)
Validate the userDefinedScope and turn it into a valid value if possible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ECSF_LOCAL_SCOPE
public static final java.lang.String ECSF_GLOBAL_SCOPE
Method Detail |
---|
public static boolean isECSFConfigured()
getSearchControl()
public static oracle.ecsf.client.SearchCtrl getSearchControl()
public static oracle.ecsf.SearchContext getLocalSearchContext()
public static oracle.ecsf.SearchContext getSearchContext()
public static void releaseSearchContext(oracle.ecsf.SearchContext searchContext)
searchContext
- The Search Context to releasepublic static java.lang.String getUserDefinedScopeValue()
public static java.lang.String validateScope(java.lang.String userDefinedScope)
userDefinedScope
- user defined value from a system property. May
have case errors etc.
public static void runPhantomQuery(SearchResult sr, TreeItem ti)
sr
- existing result to be interrogated.ti
- tree item to get counts down. This may be of type Searchable
Object or FacetItem.public static void runPhantomQuery(oracle.ecsf.SearchContext searchContext, SearchResult sr, TreeItem ti)
searchContext
- search context.sr
- existing result to be interrogated.ti
- tree item to get counts down. This may be of type Searchable
Object or FacetItem.public static void deriveCategoryCount(TreeItem catTI)
catTI
- category TreeItem to calculate for. If it already has a
count, no re-calculation is done.public static void deriveSOCount(TreeItem catTI)
catTI
- category TreeItem.public static final void addQueryWarnings(SearchResult sr, oracle.ecsf.HitsMetaData hmd)
hmd
- hits meta data from search.public static final boolean hasMetadataWarnings(oracle.ecsf.SearchContext searchContext, java.lang.String APICall)
searchContext
- ECSF search context.APICall
- description of api call for logging purposes.
public static void populateSavedSearchFacetTree(oracle.ecsf.SearchContext searchContext, SearchResult sr)
searchContext
- search Context.sr
- search result.public static void fillFacetTreePaths(oracle.ecsf.SearchContext searchContext, SearchResult sr)
searchContext
- search Context.sr
- search result.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |