|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.unifiedsearch.SearchResponse
public final class SearchResponse
A response the Unified Search Framework returns when an application initiates a search operation.
UnifiedSearchServices
Method Summary | ||
---|---|---|
|
SearchField[] |
getSearchFields(Searchable searchable)
Returns SearchField objects that matched keywords. |
|
Hashtable |
getSearchResults(Searchable searchable)
Returns a Hashtable which maps SearchField objects to the search
results for a particular Searchable . |
|
Object[] |
getSearchResults(Searchable searchable,
SearchField field)
Returns the search results for a particular Searchable and SearchField . |
|
Searchable[] |
getSearchables()
Returns Searchable objects where keywords matched some fields in its SearchFields . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Searchable[] getSearchables()
Searchable
objects where keywords matched some fields in its SearchFields
.
Searchable
objects.public SearchField[] getSearchFields(Searchable searchable)
SearchField
objects that matched keywords.
searchable
- The Searchable
that manages the matching search fields.
SearchField
objects or returns null if 'searchable' is null
or 'searchable' is not found in the results.public Object[] getSearchResults(Searchable searchable, SearchField field)
Searchable
and SearchField
.
searchable
- The Searchable
that manages the matching search field.field
- The SearchField
that matched the keywords.
Searchable
and SearchField
.public Hashtable getSearchResults(Searchable searchable)
Hashtable
which maps SearchField
objects to the search
results for a particular Searchable
.
searchable
- The Searchable
that manages the matching search fields.
Hashtable
of search results mapped to the
corresponding SearchField
or null if 'searchable'
is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal