public interface SearchManager extends OsidManager, SearchProfile
The search manager provides access to search sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
SearchSession: a session for evaluating and
executing search EngineLookupSession: a session to retrieve engine
objects EngineQuerySession: a session to query for engines
EngineSearchSession: a session to search for
engines EngineAdminSession: a session to create, update
and delete engines EngineNotificationSession: a session to receive
notifications for changes in engines EngineHierarchySession: a session to traverse
hierarchies of engines EngineHierarchyDesignSession: a session to manage
hierarchies of engines The search manager also provides a profile for determing the supported search types supported by this service.
| Modifier and Type | Method and Description |
|---|---|
EngineAdminSession |
getEngineAdminSession()
Gets the
OsidSession associated with the engine
administrative service. |
EngineHierarchyDesignSession |
getEngineHierarchyDesignSession()
Gets the
OsidSession associated with the engine
hierarchy design service. |
EngineHierarchySession |
getEngineHierarchySession()
Gets the
OsidSession associated with the engine
hierarchy service. |
EngineLookupSession |
getEngineLookupSession()
Gets the
OsidSession associated with the engine lookup
service. |
EngineNotificationSession |
getEngineNotificationSession(EngineReceiver engineReceiver)
Gets the
OsidSession associated with the engine
notification service. |
EngineQuerySession |
getEngineQuerySession()
Gets the
OsidSession associated with the engine query
service. |
EngineSearchSession |
getEngineSearchSession()
Gets the
OsidSession associated with the engine search
service. |
SearchSession |
getSearchSession()
Gets the
OsidSession associated with the search
service. |
SearchSession |
getSearchSessionForEngine(Id engineId)
Gets the
OsidSession associated with the search service
for the given engine. |
changeBranch, initialize, rollbackServiceclosegetEngineRecordTypes, getEngineSearchRecordTypes, getQueryRecordTypes, getSearchRecordTypes, supportsEngineAdmin, supportsEngineHierarchy, supportsEngineHierarchyDesign, supportsEngineLookup, supportsEngineNotification, supportsEngineQuery, supportsEngineRecordType, supportsEngineSearch, supportsEngineSearchRecordType, supportsQueryRecordType, supportsSearch, supportsSearchRecordType, supportsVisibleFederationgetBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypegetBranding, getBrandingIds, getLicense, getProvider, getProviderIdSearchSession getSearchSession() throws OperationFailedException
OsidSession associated with the search
service. SearchSession OperationFailedException - unable to complete requestUnimplementedException - supportsSearch()
is false optional - This method must be implemented if
supportsSearch() is true. SearchSession getSearchSessionForEngine(Id engineId) throws NotFoundException, OperationFailedException
OsidSession associated with the search service
for the given engine.engineId - the Id of the Engine SearchSession NotFoundException - no Engine found by
the given Id NullArgumentException - engineId is
null OperationFailedException - unable to complete requestUnimplementedException - supportsSearch()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsSearch() and
supportsVisibleFederation() are true
EngineLookupSession getEngineLookupSession() throws OperationFailedException
OsidSession associated with the engine lookup
service. EngineLookupSession OperationFailedException - unable to complete requestUnimplementedException - supportsEngineLookup()
is false optional - This method must be implemented if
supportsEngineLookup() is true. EngineQuerySession getEngineQuerySession() throws OperationFailedException
OsidSession associated with the engine query
service. EngineQuerySession OperationFailedException - unable to complete requestUnimplementedException - supportsEngineQuery()
is false optional - This method must be implemented if
supportsEngineQuery() is true. EngineSearchSession getEngineSearchSession() throws OperationFailedException
OsidSession associated with the engine search
service. EngineSearchSession OperationFailedException - unable to complete requestUnimplementedException - supportsEngineSearch()
is false optional - This method must be implemented if
supportsEngineSearch() is true. EngineAdminSession getEngineAdminSession() throws OperationFailedException
OsidSession associated with the engine
administrative service. EngineAdminSession OperationFailedException - unable to complete requestUnimplementedException - supportsEngineAdmin()
is false optional - This method must be implemented if
supportsEngineAdmin() is true. EngineNotificationSession getEngineNotificationSession(EngineReceiver engineReceiver) throws OperationFailedException
OsidSession associated with the engine
notification service.engineReceiver - the receiver EngineNotificationSession NullArgumentException - engineReceiver
is null OperationFailedException - unable to complete requestUnimplementedException -
supportsEngineNotification() is false optional - This method must be implemented if
supportsEngineNotification() is true.
EngineHierarchySession getEngineHierarchySession() throws OperationFailedException
OsidSession associated with the engine
hierarchy service. EngineHierarchySession OperationFailedException - unable to complete requestUnimplementedException -
supportsEngineHierarchy() is false optional - This method must be implemented if
supportsEngineHierarchy() is true. EngineHierarchyDesignSession getEngineHierarchyDesignSession() throws OperationFailedException
OsidSession associated with the engine
hierarchy design service. EngineierarchyDesignSession OperationFailedException - unable to complete requestUnimplementedException -
supportsEngineHierarchyDesign() is false
optional - This method must be implemented if
supportsEngineHierarchyDesign() is true.