Interface SearchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, SearchProfile, Sourceable
The search manager provides access to search sessions and provides
interoperability tests for various aspects of this service. These methods
accept a Proxy . 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.
-
Method Summary
Modifier and TypeMethodDescriptiongetEngineAdminSession(Proxy proxy) Gets theOsidSessionassociated with the engine administrative service.Gets theOsidSessionassociated with the engine hierarchy design service.getEngineHierarchySession(Proxy proxy) Gets theOsidSessionassociated with the engine hierarchy service.getEngineLookupSession(Proxy proxy) Gets theOsidSessionassociated with the engine lookup service.getEngineNotificationSession(EngineReceiver engineReceiver, Proxy proxy) Gets theOsidSessionassociated with the engine notification service.getEngineQuerySession(Proxy proxy) Gets theOsidSessionassociated with the engine query service.getEngineSearchSession(Proxy proxy) Gets theOsidSessionassociated with the engine search service.getSearchSession(Proxy proxy) Gets theOsidSessionassociated with the search service.getSearchSessionForEngine(Id engineId, Proxy proxy) Gets theOsidSessionassociated with the search service for the given engine.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface SearchProfile
getEngineRecordTypes, getEngineSearchRecordTypes, getQueryRecordTypes, getSearchRecordTypes, supportsEngineAdmin, supportsEngineHierarchy, supportsEngineHierarchyDesign, supportsEngineLookup, supportsEngineNotification, supportsEngineQuery, supportsEngineRecordType, supportsEngineSearch, supportsEngineSearchRecordType, supportsQueryRecordType, supportsSearch, supportsSearchRecordType, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedEnginerecord types.Gets the supported engine search record types.Gets the supported query record types.Gets the supported search record types.booleanTests for the availability of an engine administrative service for creating and deleting engines.booleanTests for the availability of an engine hierarchy traversal service.booleanTests for the availability of an engine hierarchy design service.booleanTests for the availability of an engine lookup service.booleanTests for the availability of an engine notification service.booleanTests if querying for engines is available.booleansupportsEngineRecordType(Type engineRecordType) Tests if the givenEnginerecord type is supported.booleanTests if searching for engines is available.booleansupportsEngineSearchRecordType(Type engineSearchRecordType) Tests if the given engine search record type is supported.booleansupportsQueryRecordType(Type queryRecordType) Tests if the given query record type is supported.booleanTests if search is supported.booleansupportsSearchRecordType(Type searchRecordType) Tests if the given search record type is supported.booleanTests if any engine federation is exposed.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getSearchSession
Gets theOsidSessionassociated with the search service.- Parameters:
proxy- the proxy- Returns:
- a
SearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSearch()} is {@code true} .
-
getSearchSessionForEngine
SearchSession getSearchSessionForEngine(Id engineId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the search service for the given engine.- Parameters:
engineId- theIdof an engineproxy- the proxy- Returns:
- a
SearchSession - Throws:
NotFoundException- noEnginefound by the givenIdNullArgumentException-engineIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getEngineLookupSession
Gets theOsidSessionassociated with the engine lookup service.- Parameters:
proxy- the proxy- Returns:
- an
EngineLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineLookup()} is {@code true} .
-
getEngineQuerySession
Gets theOsidSessionassociated with the engine query service.- Parameters:
proxy- the proxy- Returns:
- an
EngineQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineQuery()} is {@code true} .
-
getEngineSearchSession
Gets theOsidSessionassociated with the engine search service.- Parameters:
proxy- the proxy- Returns:
- an
EngineSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineSearch()} is {@code true} .
-
getEngineAdminSession
Gets theOsidSessionassociated with the engine administrative service.- Parameters:
proxy- the proxy- Returns:
- an
EngineAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineAdmin()} is {@code true} .
-
getEngineNotificationSession
EngineNotificationSession getEngineNotificationSession(EngineReceiver engineReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the engine notification service.- Parameters:
engineReceiver- the receiverproxy- the proxy- Returns:
- an
EngineNotificationSession - Throws:
NullArgumentException-engineReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineNotification()} is {@code true} .
-
getEngineHierarchySession
Gets theOsidSessionassociated with the engine hierarchy service.- Parameters:
proxy- the proxy- Returns:
- an
EngineHierarchySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineHierarchy()} is {@code true} .
-
getEngineHierarchyDesignSession
EngineHierarchyDesignSession getEngineHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the engine hierarchy design service.- Parameters:
proxy- the proxy- Returns:
- an
EngineHierarchyDesignSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEngineHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEngineHierarchyDesign()} is {@code true} .
-