|
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.BaseSavedSearch
public class BaseSavedSearch
A Saved Search.
Field Summary | |
---|---|
protected java.lang.String |
_callerContext
|
protected java.lang.String |
_id
|
protected java.util.List<SearchCategory> |
_searchedCategories
|
protected java.lang.String |
_searchName
|
protected java.lang.String |
_searchString
|
Constructor Summary | |
---|---|
protected |
BaseSavedSearch()
Protected constructor for subclasses. |
|
BaseSavedSearch(java.lang.String searchString,
java.util.List<SearchCategory> categories,
java.lang.String searchName,
java.lang.String id,
java.lang.String callerContext)
Construct this class. |
Method Summary | |
---|---|
int |
compareTo(BaseSavedSearch savedSearch)
Sort function to sort based on Name independent of case. |
boolean |
delete()
Delete this saved search from wherever it is stored. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCallerContext()
Get the caller Search Context for this Search. |
java.lang.String |
getId()
Get the search id. |
java.util.List<SearchCategory> |
getSearchedCategories()
Get the search categories. |
java.lang.String |
getSearchName()
Get the search name. |
java.lang.String |
getSearchString()
Get the search String. |
int |
hashCode()
|
boolean |
rename(java.lang.String newName)
Rename this saved search to the given name. |
boolean |
save()
Save this saved search to wherever it is stored. |
boolean |
update(SearchResult sr)
Updates the saved search based upon the details from the search result. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String _searchString
protected java.lang.String _callerContext
protected java.util.List<SearchCategory> _searchedCategories
protected java.lang.String _searchName
protected java.lang.String _id
Constructor Detail |
---|
protected BaseSavedSearch()
public BaseSavedSearch(java.lang.String searchString, java.util.List<SearchCategory> categories, java.lang.String searchName, java.lang.String id, java.lang.String callerContext)
searchString
- user entered search String.categories
- user selected categories. If 'All', this will have been
expanded out to the full list.searchName
- name of the search - user entered at some point.id
- internal id (possibly off a sequence).callerContext
- the caller Search Context for this Search.
The Search Context is 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.Method Detail |
---|
public java.util.List<SearchCategory> getSearchedCategories()
public java.lang.String getSearchName()
public java.lang.String getId()
public java.lang.String getSearchString()
public java.lang.String getCallerContext()
public boolean delete()
public boolean save()
public boolean rename(java.lang.String newName)
newName
- new name to rename to.
public boolean update(SearchResult sr)
sr
- the search result to update from
public int compareTo(BaseSavedSearch savedSearch)
compareTo
in interface java.lang.Comparable<BaseSavedSearch>
savedSearch
- another search to compare to.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
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 |