Interface OntologyManager
- All Superinterfaces:
AutoCloseable, Closeable, OntologyProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The ontology manager provides access to ontology sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
SubjectLookupSession: a session to look up subjects -
SubjectQuerySession: a session to query subjects -
SubjectSearchSession:a session to search subjects -
SubjectAdminSession: a session to create, modify and delete subjects -
SubjectNotificationSession: asession to receive messages pertaining to subject changes -
SubjectHierarchySession: a session to traverse subject hierarchies -
SubjectHierarchyDesignSession: a sesion to manage subject hierarchies -
SubjectOntologySession: a session for retriieving subject and ontology mappings -
SubjectOntologyAssignmentSession: a session for managing subject and ontology mappings -
SubjectSmartOntologySession: a session to manage dynamic ontologies of subjects
-
RelevancyLookupSession: a session to look up subject relevancies -
RelevancyQuerySession: a session to query subject relevancies -
RelevancySearchSession:a session to search subject relevancies -
RelevancyAdminSession: a session to create, modify and delete subject relevancies -
RelevancyNotificationSession: asession to receive messages pertaining to subject relevancy changes -
RelevancyOntologySession: a session for retriieving relevancy and ontology mappings -
RelevancyOntologyAssignmentSession: a session for managing relevancy and ontology mappings -
RelevancySmartOntologySession: a session to manage dynamic ontologies of relevancies
-
OntologyLookupSession: a session to lookup ontologies -
OntologyQuerySession: a session to search ontologies -
OntologySearchSession: a session to search ontologies -
OntologyAdminSession: a session to create, modify and delete ontologies -
OntologyNotificationSession: a session to receive messages pertaining to ontology changes -
OntologyHierarchySession: a session to traverse the ontology hierarchy -
OntologyHierarchyDesignSession: a session to manage the ontology hierarchy
-
Method Summary
Modifier and TypeMethodDescriptionGets the OsidSession associated with the ontology administration service.Gets the session to assignIdsto ontologies.Gets the ontology batch service.Gets the session designing ontology hierarchies.Gets the session traversing ontology hierarchies.Gets the OsidSession associated with the ontology lookup service.getOntologyNotificationSession(OntologyReceiver ontologyReceiver) Gets the notification session for notifications pertaining to ontology service changes.Gets the OsidSession associated with the ontology query service.Gets the ontology rules service.Gets the OsidSession associated with the ontology search service.Gets theOsidSessionassociated with the relevancy administration service.getRelevancyAdminSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy admin service for the given ontology.Gets theOsidSessionassociated with the relevancy lookup service.getRelevancyLookupSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy lookup service for the given ontology.getRelevancyNotificationSession(RelevancyReceiver relevancyReceiver) Gets the notification session for notifications pertaining to relevancy changes.getRelevancyNotificationSessionForOntology(RelevancyReceiver relevancyReceiver, Id ontologyId) Gets theOsidSessionassociated with the relevancy notification service for the given ontology.Gets the session managing relevancy ontology mappings.Gets the session retrieving relevancy ontology mappings.Gets theOsidSessionassociated with the relevancy query service.getRelevancyQuerySessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy query service for the given ontology.Gets theOsidSessionassociated with the relevancy search service.getRelevancySearchSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy search service for the given ontology.getRelevancySmartOntologySession(Id ontologyId) Gets the session managing relevancy smart ontologies.Gets theOsidSessionassociated with the subject administration service.getSubjectAdminSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the subject admin service for the given ontology.Gets the session designing subject hierarchies.getSubjectHierarchyDesignSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the subject heirarchy design service for the given ontology.Gets the session traversing subject hierarchies.Gets the hierarchy session for the givenIdassigned using theOntologyAssignmentSession.getSubjectHierarchySessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the subject heirarchy traversal service for the given ontology.Gets theOsidSessionassociated with the subject lookup service.Gets theOsidSessionassociated with the subject lookup service for the givenIdassigned using theOntologyAssignmentSession.getSubjectLookupSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the subject lookup service for the given ontology.getSubjectNotificationSession(SubjectReceiver subjectReceiver) Gets the notification session for notifications pertaining to subject changes.getSubjectNotificationSessionForOntology(SubjectReceiver subjectReceiver, Id ontologyId) Gets theOsidSessionassociated with the subject notification service for the given ontology.Gets the session managing subject ontology mappings.Gets the session retrieving subject ontology mappings.Gets theOsidSessionassociated with the subject query service.getSubjectQuerySessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the subject query service for the given ontology.Gets theOsidSessionassociated with the subject search service.getSubjectSearchSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the subject search service for the given ontology.getSubjectSmartOntologySession(Id ontologyId) Gets the session managing subject smart ontologies.Methods inherited from interface OntologyProfile
getOntologyRecordTypes, getOntologySearchRecordTypes, getRelevancyRecordTypes, getRelevancySearchRecordTypes, getSubjectRecordTypes, getSubjectSearchRecordTypes, supportsOntologyAdmin, supportsOntologyAssignment, supportsOntologyBatch, supportsOntologyHierarchy, supportsOntologyHierarchyDesign, supportsOntologyLookup, supportsOntologyNotification, supportsOntologyQuery, supportsOntologyRecordType, supportsOntologyRules, supportsOntologySearch, supportsOntologySearchRecordType, supportsRelevancyAdmin, supportsRelevancyLookup, supportsRelevancyNotification, supportsRelevancyOntology, supportsRelevancyOntologyAssignment, supportsRelevancyQuery, supportsRelevancyRecordType, supportsRelevancySearch, supportsRelevancySearchRecordType, supportsRelevancySmartOntology, supportsSubjectAdmin, supportsSubjectHierarchy, supportsSubjectHierarchyDesign, supportsSubjectLookup, supportsSubjectNotification, supportsSubjectOntology, supportsSubjectOntologyAssignment, supportsSubjectQuery, supportsSubjectRecordType, supportsSubjectSearch, supportsSubjectSearchRecordType, supportsSubjectSmartOntology, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedOntologyrecord types.Gets the supported ontology search record types.Gets the supportedRelevancyrecord types.Gets the supportedRelevancysearch record types.Gets the supportedSubjectrecord types.Gets the supportedSubjectsearch record types.booleanTests if an ontology administrative service is supported.booleanTests ifIdscan be asssigned to ontologies.booleanTests if an ontology batch service is supported.booleanTests if an ontology hierarchy traversal is supported.booleanTests if ontology hierarchy design is supported.booleanTests if an ontology lookup service is supported.booleanTests if ontology notification is supported.booleanTests if an ontology query service is supported.booleansupportsOntologyRecordType(Type ontologyRecordType) Tests if the givenOntologyrecord type is supported.booleanTests if an ontology rules service is supported.booleanTests if an ontology search service is supported.booleansupportsOntologySearchRecordType(Type ontologySearchRecordType) Tests if the given ontology search record type is supported.booleanTests if a relevancy administrative service is supported.booleanTests if a subject relevancy lookup service is supported.booleanTests if relevancy notification is supported.booleanTests if a relevancy to ontology lookup session is available.booleanTests if a relevancy to ontology assignment session is available.booleanTests if a relevancy query service is supported.booleansupportsRelevancyRecordType(Type relevancyRecordType) Tests if the givenRelevancyrecord type is supported.booleanTests if a relevancy search service is supported.booleansupportsRelevancySearchRecordType(Type relevancySearchRecordType) Tests if the givenRelevancysearch record type is supported.booleanTests if a relevancy smart ontology session is available.booleanTests if a subject administrative service is supported.booleanTests if a subject hierarchy traversal is supported.booleanTests if subject hierarchy design is supported.booleanTests if a subject lookup service is supported.booleanTests if subject notification is supported.booleanTests if a subject to ontology lookup session is available.booleanTests if a subject to ontology assignment session is available.booleanTests if a subject query service is supported.booleansupportsSubjectRecordType(Type subjectRecordType) Tests if the givenSubjectrecord type is supported.booleanTests if a subject search service is supported.booleansupportsSubjectSearchRecordType(Type subjectSearchRecordType) Tests if the givenSubjectsearch record type is supported.booleanTests if a subject smart ontology session is available.booleanTests if federation is visible.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.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 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
-
getSubjectLookupSession
Gets theOsidSessionassociated with the subject lookup service.- Returns:
- a
SubjectLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectLookup()} is {@code true} .
-
getSubjectLookupSessionForOntology
SubjectLookupSession getSubjectLookupSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject lookup service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a SubjectLookupSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectLookupSessionForId
SubjectLookupSession getSubjectLookupSessionForId(Id id) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject lookup service for the givenIdassigned using theOntologyAssignmentSession.- Parameters:
id- anId- Returns:
a SubjectLookupSession- Throws:
NotFoundException-idnot foundNullArgumentException-idisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectQuerySession
Gets theOsidSessionassociated with the subject query service.- Returns:
- a
SubjectQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectQuery()} is {@code true} .
-
getSubjectQuerySessionForOntology
SubjectQuerySession getSubjectQuerySessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject query service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
- a
SubjectQuerySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectSearchSession
Gets theOsidSessionassociated with the subject search service.- Returns:
- a
SubjectSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectSearch()} is {@code true} .
-
getSubjectSearchSessionForOntology
SubjectSearchSession getSubjectSearchSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject search service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a SubjectSearchSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectAdminSession
Gets theOsidSessionassociated with the subject administration service.- Returns:
- a
SubjectAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectAdmin()} is {@code true} .
-
getSubjectAdminSessionForOntology
SubjectAdminSession getSubjectAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject admin service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a SubjectAdminSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectNotificationSession
SubjectNotificationSession getSubjectNotificationSession(SubjectReceiver subjectReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to subject changes.- Parameters:
subjectReceiver- the subject receiver- Returns:
- a
SubjectNotificationSession - Throws:
NullArgumentException-subjectReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectNotification()} is {@code true} .
-
getSubjectNotificationSessionForOntology
SubjectNotificationSession getSubjectNotificationSessionForOntology(SubjectReceiver subjectReceiver, Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject notification service for the given ontology.- Parameters:
subjectReceiver- the subject receiverontologyId- theIdof the ontology- Returns:
a SubjectNotificationSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-subjectReceiverorontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectHierarchySession
Gets the session traversing subject hierarchies.- Returns:
- a
SubjectHierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectHierarchy() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchy()} is true.
-
getSubjectHierarchySessionForOntology
SubjectHierarchySession getSubjectHierarchySessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject heirarchy traversal service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
- a
SubjectHierarchySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectHierarchy()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchy()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectHierarchySessionForId
SubjectHierarchySession getSubjectHierarchySessionForId(Id id) throws NotFoundException, OperationFailedException Gets the hierarchy session for the givenIdassigned using theOntologyAssignmentSession.- Parameters:
id- anId- Returns:
- a
SubjectHierarchySession - Throws:
NotFoundException-idnot foundNullArgumentException-idisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectHierarchy()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchy()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectHierarchyDesignSession
Gets the session designing subject hierarchies.- Returns:
- a
SubjectHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectHierarchyDesign() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchyDesign()} is true.
-
getSubjectHierarchyDesignSessionForOntology
SubjectHierarchyDesignSession getSubjectHierarchyDesignSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject heirarchy design service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
- a
SubjectHierarchyDesignSession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectHierarchyDesign()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchyDesign()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectOntologySession
Gets the session retrieving subject ontology mappings.- Returns:
- a
SubjectOntologySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectOntology() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectOntology()} is true.
-
getSubjectOntologyAssignmentSession
SubjectOntologyAssignmentSession getSubjectOntologyAssignmentSession() throws OperationFailedExceptionGets the session managing subject ontology mappings.- Returns:
- a
SubjectOntologyAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectOntologyAssignment() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectOntologyAssignment()} is true.
-
getSubjectSmartOntologySession
SubjectSmartOntologySession getSubjectSmartOntologySession(Id ontologyId) throws NotFoundException, OperationFailedException Gets the session managing subject smart ontologies.- Parameters:
ontologyId- theIdof the ontology- Returns:
- a
SubjectSmartOntologySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectSmartOntology() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectSmartOntology()} is true.
-
getRelevancyLookupSession
Gets theOsidSessionassociated with the relevancy lookup service.- Returns:
- a
RelevancyLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyLookup()} is {@code true} .
-
getRelevancyLookupSessionForOntology
RelevancyLookupSession getRelevancyLookupSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy lookup service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a RelevancyLookupSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsRelevancyLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyQuerySession
Gets theOsidSessionassociated with the relevancy query service.- Returns:
- a
RelevancyQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyQuery()} is {@code true} .
-
getRelevancyQuerySessionForOntology
RelevancyQuerySession getRelevancyQuerySessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy query service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a RelevancyQuerySession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsRelevancyQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancySearchSession
Gets theOsidSessionassociated with the relevancy search service.- Returns:
- a
RelevancySearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancySearch()} is {@code true} .
-
getRelevancySearchSessionForOntology
RelevancySearchSession getRelevancySearchSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy search service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a RelevancySearchSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsRelevancySearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancySearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyAdminSession
Gets theOsidSessionassociated with the relevancy administration service.- Returns:
- a
RelvancyAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyAdmin()} is {@code true} .
-
getRelevancyAdminSessionForOntology
RelevancyAdminSession getRelevancyAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy admin service for the given ontology.- Parameters:
ontologyId- theIdof the ontology- Returns:
a RelevancyAdminSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsRelevancyAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyNotificationSession
RelevancyNotificationSession getRelevancyNotificationSession(RelevancyReceiver relevancyReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to relevancy changes.- Parameters:
relevancyReceiver- the relevancy receiver- Returns:
- a
RelevancyNotificationSession - Throws:
NullArgumentException-relevancyReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyNotification()} is {@code true} .
-
getRelevancyNotificationSessionForOntology
RelevancyNotificationSession getRelevancyNotificationSessionForOntology(RelevancyReceiver relevancyReceiver, Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy notification service for the given ontology.- Parameters:
relevancyReceiver- the subject receiverontologyId- theIdof the ontology- Returns:
- a
RelevancyNotificationSession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-relevancyReceiverorontologyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsRelevancyNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyOntologySession
Gets the session retrieving relevancy ontology mappings.- Returns:
- a
RelevancyOntologySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyOntology() is false- Compliance:
optional- This method must be implemented if {@code supportsRelevancyOntology()} is true.
-
getRelevancyOntologyAssignmentSession
RelevancyOntologyAssignmentSession getRelevancyOntologyAssignmentSession() throws OperationFailedExceptionGets the session managing relevancy ontology mappings.- Returns:
- a
RelevancyOntologyAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyOntologyAssignment() is false- Compliance:
optional- This method must be implemented if {@code supportsRelevancyOntologyAssignment()} is true.
-
getRelevancySmartOntologySession
RelevancySmartOntologySession getRelevancySmartOntologySession(Id ontologyId) throws NotFoundException, OperationFailedException Gets the session managing relevancy smart ontologies.- Parameters:
ontologyId- theIdof the ontology- Returns:
- a
RelevancySmartOntologySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancySmartOntology() is false- Compliance:
optional- This method must be implemented if {@code supportsRelevancySmartOntology()} is true.
-
getOntologyLookupSession
Gets the OsidSession associated with the ontology lookup service.- Returns:
- an
OntologyLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyLookup() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyLookup()} is true.
-
getOntologyQuerySession
Gets the OsidSession associated with the ontology query service.- Returns:
- an
OntologyQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyQuery() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyQuery()} is true.
-
getOntologySearchSession
Gets the OsidSession associated with the ontology search service.- Returns:
- an
OntologySearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologySearch() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologySearch()} is true.
-
getOntologyAdminSession
Gets the OsidSession associated with the ontology administration service.- Returns:
- an
OntologyAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyAdmin() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyAdmin()} is true.
-
getOntologyNotificationSession
OntologyNotificationSession getOntologyNotificationSession(OntologyReceiver ontologyReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to ontology service changes.- Parameters:
ontologyReceiver- the ontology receiver- Returns:
- an
OntologyNotificationSession - Throws:
NullArgumentException-ontologyReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsOntologyNotification() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyNotification()} is true.
-
getOntologyHierarchySession
Gets the session traversing ontology hierarchies.- Returns:
- an
OntologyHierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyHierarchy() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyHierarchy()} is true.
-
getOntologyHierarchyDesignSession
Gets the session designing ontology hierarchies.- Returns:
- an
OntologyHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyHierarchyDesign() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyHierarchyDesign()} is true.
-
getOntologyAssignmentSession
Gets the session to assignIdsto ontologies.- Returns:
- an
OntologyAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyAssignment() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyAssignment()} is true.
-
getOntologyBatchManager
Gets the ontology batch service.- Returns:
- an
OntologyBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyBatch() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyBatch()} is true.
-
getOntologyRulesManager
Gets the ontology rules service.- Returns:
- an
OntologyRulesManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyRules() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyRules()} is true.
-