|
Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.2) E21908-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.ecsf.client.SavedSearchManager
public class SavedSearchManager
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
sLogger
|
| Constructor Summary | |
|---|---|
protected |
SavedSearchManager()
|
| Method Summary | |
|---|---|
SavedSearch |
createSavedSearch(SearchContext ctx,
java.lang.String searchName,
java.lang.String searchDescription,
QueryMetaData queryDetails)
Creates a new saved search |
SavedSearch |
createSavedSearch(SearchContext ctx,
java.lang.String searchName,
java.lang.String searchDescription,
QueryMetaData queryDetails,
java.lang.String callerCtx)
Creates a new saved search |
void |
deleteSavedSearch(SearchContext ctx,
SavedSearch savedSearch)
Deletes the specified Saved Search from the database |
void |
findAndSetECSFComponentId(SearchContext ctx,
SavedSearch savedSearch)
find and set the ECSF component ID of a saved search object |
static SavedSearchManager |
getInstance()
|
SavedSearch |
getSavedSearch(SearchContext ctx,
java.lang.String searchName)
Returns the SavedSearch object with the specified name |
java.util.ArrayList<SavedSearch> |
getSavedSearches(SearchContext ctx)
Returns an ArrayList of SavedSearch data objects for the current user defined in the SearchContext |
java.util.ArrayList<SavedSearch> |
getSavedSearches(SearchContext ctx,
java.lang.String callerCtx)
Returns an ArrayList of SavedSearch data objects for the current user defined in the SearchContext and the specified caller context |
void |
updateSavedSearch(SearchContext ctx,
SavedSearch savedSearch)
Updates the saved search table with the info from the specified saved search object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.logging.Logger sLogger
| Constructor Detail |
|---|
protected SavedSearchManager()
| Method Detail |
|---|
public static SavedSearchManager getInstance()
public java.util.ArrayList<SavedSearch> getSavedSearches(SearchContext ctx)
throws SearchException
ctx - the current SearchContext
SearchException
public java.util.ArrayList<SavedSearch> getSavedSearches(SearchContext ctx,
java.lang.String callerCtx)
throws SearchException
ctx - the current SearchContextcallerCtx - the caller context
SearchException
public SavedSearch getSavedSearch(SearchContext ctx,
java.lang.String searchName)
throws SearchException
ctx - the current SearchContextsearchName - the name of the saved search
SearchException
public SavedSearch createSavedSearch(SearchContext ctx,
java.lang.String searchName,
java.lang.String searchDescription,
QueryMetaData queryDetails)
throws SearchException
ctx - the SearchContextsearchName - the name of the saved searchsearchDescription - the description of the saved searchqueryDetails - the saved search query information
SearchException
public SavedSearch createSavedSearch(SearchContext ctx,
java.lang.String searchName,
java.lang.String searchDescription,
QueryMetaData queryDetails,
java.lang.String callerCtx)
throws SearchException
ctx - the SearchContextsearchName - the name of the saved searchsearchDescription - the description of the saved searchqueryDetails - the saved search query informationcallerCtx - the caller context
SearchException
public void updateSavedSearch(SearchContext ctx,
SavedSearch savedSearch)
throws SearchException
ctx - the SearchContextsavedSearch - the updated saved search
SearchException
public void findAndSetECSFComponentId(SearchContext ctx,
SavedSearch savedSearch)
throws SearchException
savedSearch -
SearchException
public void deleteSavedSearch(SearchContext ctx,
SavedSearch savedSearch)
throws SearchException
ctx - the SearchContextsavedSearch - the Saved Search to delete
SearchException
|
Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.2) E21908-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||