|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.unifiedsearch.searchables.adapters.RegisterableDataSource
net.rim.device.api.unifiedsearch.searchables.adapters.ExtendedSearchProvider
public class ExtendedSearchProvider
The ExtendedSearchProvider adapter allows a developer to provide a plug in mechanism for other applications using the
search framework to re-route a query string from the search framework into an application.
| Constructor Summary | ||
|---|---|---|
|
ExtendedSearchProvider()
Default constructor |
|
| Method Summary | ||
|---|---|---|
|
long |
getContentType()
Returns the content type. |
|
Image |
getProviderIcon()
Returns the provider's icon. |
|
String |
getProviderName()
Returns the provider's name with the localized string "Local Search" appended to it. |
|
void |
search(String keywords)
Begins a search based on the keywords supplied. |
|
void |
setContentType(long contentType)
Sets the content type for the ExtendedSearchProvider |
|
void |
setProviderIcon(Image icon)
Sets the ExtendedSearchProvider icon |
|
void |
setProviderName(String name)
Sets the ExtendedSearchProvider name |
|
void |
setProviderName(StringProvider name)
Sets the ExtendedSearchProvider name |
| Methods inherited from class net.rim.device.api.unifiedsearch.searchables.adapters.RegisterableDataSource |
|---|
deregister, getListener, getRegistrationID, getRegistrationToken, register, setListener, setRegistrationID, setRegistrationToken |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.rim.device.api.unifiedsearch.searchables.ExternalSearchProvider |
|---|
getRegistrationID, setRegistrationID |
| Constructor Detail |
|---|
public ExtendedSearchProvider()
| Method Detail |
|---|
public long getContentType()
SearchableContentTypeConstants for more information.
getContentType in interface ExternalSearchProviderpublic void setContentType(long contentType)
ExtendedSearchProvider
contentType - public void setProviderIcon(Image icon)
ExtendedSearchProvider icon
icon - The image that is used as the icon for this ExtendedSearchProviderpublic Image getProviderIcon()
getProviderIcon in interface ExternalSearchProviderpublic void setProviderName(String name)
ExtendedSearchProvider name
name - the name of the ExtendedSearchProvider instancepublic void setProviderName(StringProvider name)
ExtendedSearchProvider name
name - the StringProvider to use for setting the name of the ExtendedSearchProvider instancepublic String getProviderName()
getProviderName in interface ExternalSearchProviderpublic void search(String keywords)
search in interface ExternalSearchProviderkeywords - The search keyword phrase.
|
|||||||||
| 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