|
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.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.util.List<PersistentSearchFilter> |
_searchFilters
The filters of the search. |
protected java.lang.String |
_searchName
|
protected java.lang.String |
_searchString
|
Constructor Summary | |
---|---|
protected |
BaseSavedSearch()
Protected constructor for subclasses. |
|
BaseSavedSearch(java.lang.String searchName,
AbstractSearchResult sr)
Construct this class from an elready run search. |
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.util.List<PersistentSearchFilter> |
getSearchFilters()
Get the search filters. |
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
protected java.util.List<PersistentSearchFilter> _searchFilters
Constructor Detail |
---|
protected BaseSavedSearch()
public BaseSavedSearch(java.lang.String searchName, AbstractSearchResult sr)
searchName
- name of the search - user entered at some point.sr
- existing search result.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 java.util.List<PersistentSearchFilter> getSearchFilters()
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.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |