|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.unifiedsearch.registry.SearchRegistry
public abstract class SearchRegistry
Registers Searchable objects in the Unified Search Framework. An application registers
at least one class that implements a Searchable or an ExternalSearchProvider interface.
See also: EntityBasedSearchable.
| Method Summary | ||
|---|---|---|
|
abstract boolean |
deregister(RegistrationToken token)
Removes a registered Searchable from the Unified Search Framework. |
|
static SearchRegistry |
getInstance()
Returns an instance of SearchRegistry. |
|
abstract RegistrationToken |
register(ExternalSearchProvider provider)
Adds an implementation of ExternalSearchProvider to the Unified Search Framework. |
|
abstract RegistrationToken |
register(Searchable searchable)
Adds an implementation of Searchable to the Unified Search Framework. |
|
abstract RegistrationToken |
register(Searchable searchable,
boolean encryptable)
Adds an implementation of Searchable to the Unified Search Framework. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract RegistrationToken register(Searchable searchable)
Searchable to the Unified Search Framework.
searchable - The component to be registered in the Unified Search Framework.
NOTE: Invoking this method is the same as register( searchable, true );
RegistrationToken used when an application registers content. See
AppContentManager
for more information.
public abstract RegistrationToken register(Searchable searchable,
boolean encryptable)
Searchable to the Unified Search Framework.
searchable - The component to be registered in the Unified Search Framework.encryptable - If set to true, the keywords associated with the searchable being registered will
be encrypted if content protection is enabled
RegistrationToken used when an application registers content. See
AppContentManager
for more information.public abstract RegistrationToken register(ExternalSearchProvider provider)
ExternalSearchProvider to the Unified Search Framework.
provider - The component to be registered as a search provider.
RegistrationToken used when an application registers content.public abstract boolean deregister(RegistrationToken token)
Searchable from the Unified Search Framework.
token - The RegistrationToken, issued at the time of registration, that identifies the source of the request.
true if the Searchable was successfully removed; false otherwise.public static final SearchRegistry getInstance()
SearchRegistry. Only one instance of
SearchRegistry is available per process.
SearchRegistry instance
|
|||||||||
| 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