public interface SearchProxyManager extends OsidProxyManager, SearchProfile
The search manager provides access to search sessions and provides
interoperability tests for various aspects of this service. These methods
accept a Proxy
interface. 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(Proxy proxy)
Gets the
OsidSession associated with the engine
administrative service. |
EngineHierarchyDesignSession |
getEngineHierarchyDesignSession(Proxy proxy)
Gets the
OsidSession associated with the engine
hierarchy design service. |
EngineHierarchySession |
getEngineHierarchySession(Proxy proxy)
Gets the
OsidSession associated with the engine
hierarchy service. |
EngineLookupSession |
getEngineLookupSession(Proxy proxy)
Gets the
OsidSession associated with the engine lookup
service. |
EngineNotificationSession |
getEngineNotificationSession(EngineReceiver engineReceiver,
Proxy proxy)
Gets the
OsidSession associated with the engine
notification service. |
EngineQuerySession |
getEngineQuerySession(Proxy proxy)
Gets the
OsidSession associated with the engine query
service. |
EngineSearchSession |
getEngineSearchSession(Proxy proxy)
Gets the
OsidSession associated with the engine search
service. |
SearchSession |
getSearchSession(Proxy proxy)
Gets the
OsidSession associated with the search
service. |
SearchSession |
getSearchSessionForEngine(Id engineId,
Proxy proxy)
Gets the
OsidSession associated with the search service
for the given engine. |
changeBranch, initialize, rollbackService
close
getEngineRecordTypes, getEngineSearchRecordTypes, getQueryRecordTypes, getSearchRecordTypes, supportsEngineAdmin, supportsEngineHierarchy, supportsEngineHierarchyDesign, supportsEngineLookup, supportsEngineNotification, supportsEngineQuery, supportsEngineRecordType, supportsEngineSearch, supportsEngineSearchRecordType, supportsQueryRecordType, supportsSearch, supportsSearchRecordType, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
SearchSession getSearchSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the search
service.proxy
- the proxy SearchSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsSearch()
is false
optional
- This method must be implemented if
supportsSearch()
is true.
SearchSession getSearchSessionForEngine(Id engineId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the search service
for the given engine.engineId
- the Id
of an engineproxy
- the proxy SearchSession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
or
proxy
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(Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine lookup
service.proxy
- the proxy EngineLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineLookup()
is false
optional
- This method must be implemented if
supportsEngineLookup()
is true.
EngineQuerySession getEngineQuerySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine query
service.proxy
- the proxy EngineQuerySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineQuery()
is false
optional
- This method must be implemented if
supportsEngineQuery()
is true.
EngineSearchSession getEngineSearchSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine search
service.proxy
- the proxy EngineSearchSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineSearch()
is false
optional
- This method must be implemented if
supportsEngineSearch()
is true.
EngineAdminSession getEngineAdminSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine
administrative service.proxy
- the proxy EngineAdminSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineAdmin()
is false
optional
- This method must be implemented if
supportsEngineAdmin()
is true.
EngineNotificationSession getEngineNotificationSession(EngineReceiver engineReceiver, Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine
notification service.engineReceiver
- the receiverproxy
- the proxy EngineNotificationSession
NullArgumentException
- engineReceiver
or proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsEngineNotification()
is false
optional
- This method must be implemented if
supportsEngineNotification()
is true.
EngineHierarchySession getEngineHierarchySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine
hierarchy service.proxy
- the proxy EngineHierarchySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsEngineHierarchy()
is false
optional
- This method must be implemented if
supportsEngineHierarchy()
is true.
EngineHierarchyDesignSession getEngineHierarchyDesignSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the engine
hierarchy design service.proxy
- the proxy EngineHierarchyDesignSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsEngineHierarchyDesign()
is false
optional
- This method must be implemented if
supportsEngineHierarchyDesign()
is true.