|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
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.AbstractSearchableFactory oracle.apps.fnd.applcore.globalSearch.ui.ecsf.ECSFSearchableFactory
public class ECSFSearchableFactory
A concrete (and the default) implementation of AbstractSearchableFactory for creating a specific searchable implementation for ECSF. See GoF Abstract Factory pattern.
AbstractSearchableFactory
Field Summary |
---|
Fields inherited from class oracle.apps.fnd.applcore.globalSearch.ui.AbstractSearchableFactory |
---|
DEFAULT_MAX_RECENT_SEARCHES |
Constructor Summary | |
---|---|
ECSFSearchableFactory()
Default constructor. |
Method Summary | |
---|---|
BaseRecentSearch |
createRecentSearch(SearchResult sr,
java.util.List<SearchCategory> allCats)
Turn a search result into a bean representing the recent search such that it can be stored in the list of recent searches. |
SearchResult |
createRecentSearchResult(BaseRecentSearch rs,
CategoryGroup cg,
java.lang.String searchString,
boolean performInitialSearch)
Create a specific Search result for the given arguments for the search strategy. |
BaseSavedSearch |
createSavedSearch(java.lang.String searchName,
SearchResult sr)
Turn a search result into a bean representing the saved search of given name, such that it can be stored in the list of saved searches. |
SearchResult |
createSavedSearchResult(BaseSavedSearch ss,
CategoryGroup cg,
java.lang.String searchString,
java.lang.String callerContext,
boolean performInitialSearch)
Create a specific Search result for the given arguments for the search strategy. |
SearchResult |
createSearchResult(CategoryGroup cg,
java.lang.String searchString,
java.lang.String callerContext,
boolean performInitialSearch)
Create a specific Search result for the given arguments for the search strategy. |
int |
getMaxRecentSearches()
Get the maximum number of recent searches allowed. |
int |
internalGetMaxNumSearches()
Applcore internal. |
boolean |
isRecentSearchesEnabled()
Is the recent search feature enabled? By default is enabled if searching is enabled. |
boolean |
isSearchingEnabled()
Is searching enabled, that is is whatever search system has been setup been configured and works. |
boolean |
isWarnings()
Were there warnings with the last operation? |
java.util.List<SearchCategory> |
loadCategories()
Load categories to be shown in Global Search UI. |
java.util.List<BaseRecentSearch> |
loadRecentSearches()
Load the recent searches on startup. |
java.util.List<BaseSavedSearch> |
loadSavedSearches(java.lang.String callerContext)
Load the saved searches on startup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECSFSearchableFactory()
Method Detail |
---|
public boolean isSearchingEnabled()
isSearchingEnabled
in class AbstractSearchableFactory
public boolean isWarnings()
isWarnings
in class AbstractSearchableFactory
public java.util.List<SearchCategory> loadCategories()
loadCategories
in class AbstractSearchableFactory
public java.util.List<BaseSavedSearch> loadSavedSearches(java.lang.String callerContext)
loadSavedSearches
in class AbstractSearchableFactory
callerContext
- caller context.
public int internalGetMaxNumSearches()
public int getMaxRecentSearches()
getMaxRecentSearches
in class AbstractSearchableFactory
AbstractSearchableFactory.isRecentSearchesEnabled()
public boolean isRecentSearchesEnabled()
isRecentSearchesEnabled
in class AbstractSearchableFactory
public java.util.List<BaseRecentSearch> loadRecentSearches()
loadRecentSearches
in class AbstractSearchableFactory
public BaseRecentSearch createRecentSearch(SearchResult sr, java.util.List<SearchCategory> allCats)
createRecentSearch
in class AbstractSearchableFactory
sr
- existing search result as shown in the currently selected results
tab.allCats
- all categories the user searched with.
public SearchResult createSearchResult(CategoryGroup cg, java.lang.String searchString, java.lang.String callerContext, boolean performInitialSearch)
createSearchResult
in class AbstractSearchableFactory
cg
- the Category grouping for this search.searchString
- user entered search string.callerContext
- 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.performInitialSearch
- do we perform an initial search.
public SearchResult createSavedSearchResult(BaseSavedSearch ss, CategoryGroup cg, java.lang.String searchString, java.lang.String callerContext, boolean performInitialSearch)
createSavedSearchResult
in class AbstractSearchableFactory
ss
- saved search to run.cg
- the Category grouping for this search.searchString
- user entered search string.callerContext
- 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.performInitialSearch
- do we perform an initial search.
public SearchResult createRecentSearchResult(BaseRecentSearch rs, CategoryGroup cg, java.lang.String searchString, boolean performInitialSearch)
createRecentSearchResult
in class AbstractSearchableFactory
rs
- recent search to run.cg
- the Category grouping for this search.searchString
- user entered search string.performInitialSearch
- do we perform an initial search.
public BaseSavedSearch createSavedSearch(java.lang.String searchName, SearchResult sr)
createSavedSearch
in class AbstractSearchableFactory
searchName
- name of search.sr
- existing search result as shown in the currently selected results
tab.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |