|
|||||||||
| 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. |
| 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(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-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.