Interface OntologyProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OntologyProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The authentication manager provides access to ontology sessions and
provides interoperability tests for various aspects of this service.
Methods in this manager support the passing of a Proxy . 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 TypeMethodDescriptiongetOntologyAdminSession(Proxy proxy) Gets 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.getOntologyHierarchySession(Proxy proxy) Gets the session traversing ontology hierarchies.getOntologyLookupSession(Proxy proxy) Gets the OsidSession associated with the ontology lookup service.getOntologyNotificationSession(OntologyReceiver ontologyReceiver, Proxy proxy) Gets the notification session for notifications pertaining to ontology service changes.getOntologyQuerySession(Proxy proxy) Gets the OsidSession associated with the ontology query service.Gets the ontology rules service.getOntologySearchSession(Proxy proxy) Gets the OsidSession associated with the ontology search service.getRelevancyAdminSession(Proxy proxy) Gets theOsidSessionassociated with the relevancy administration service.getRelevancyAdminSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy admin service for the given ontology.getRelevancyLookupSession(Proxy proxy) Gets theOsidSessionassociated with the relevancy lookup service.getRelevancyLookupSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy lookup service for the given ontology.getRelevancyNotificationSession(RelevancyReceiver relevancyReceiver, Proxy proxy) Gets the notification session for notifications pertaining to relevancy changes.getRelevancyNotificationSessionForOntology(RelevancyReceiver relevancyReceiver, Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy notification service for the given ontology.Gets the session managing relevancy ontology mappings.getRelevancyOntologySession(Proxy proxy) Gets the session retrieving relevancy ontology mappings.getRelevancyQuerySession(Proxy proxy) Gets theOsidSessionassociated with the relevancy query service.getRelevancyQuerySessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy query service for the given ontology.getRelevancySearchSession(Proxy proxy) Gets theOsidSessionassociated with the relevancy search service.getRelevancySearchSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy search service for the given ontology.getRelevancySmartOntologySession(Id ontologyId, Proxy proxy) Gets the session managing relevancy smart ontologies.getSubjectAdminSession(Proxy proxy) Gets theOsidSessionassociated with the subject administration service.getSubjectAdminSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject admin service for the given ontology.Gets the session designing subject hierarchies.getSubjectHierarchyDesignSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject heirarchy design service for the given ontology.getSubjectHierarchySession(Proxy proxy) Gets the session traversing subject hierarchies.getSubjectHierarchySessionForId(Id id, Proxy proxy) Gets the hierarchy session for the givenIdassigned using theOntologyAssignmentSession.getSubjectHierarchySessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject heirarchy traversal service for the given ontology.getSubjectLookupSession(Proxy proxy) Gets theOsidSessionassociated with the subject lookup service.getSubjectLookupSessionForId(Id id, Proxy proxy) Gets theOsidSessionassociated with the subject lookup service for the givenIdassigned using theOntologyAssignmentSession.getSubjectLookupSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject lookup service for the given ontology.getSubjectNotificationSession(SubjectReceiver subjectReceiver, Proxy proxy) Gets the notification session for notifications pertaining to subject changes.getSubjectNotificationSessionForOntology(SubjectReceiver subjectReceiver, Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject notification service for the given ontology.Gets the session managing subject ontology mappings.getSubjectOntologySession(Proxy proxy) Gets the session retrieving subject ontology mappings.getSubjectQuerySession(Proxy proxy) Gets theOsidSessionassociated with the subject query service.getSubjectQuerySessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject query service for the given ontology.getSubjectSearchSession(Proxy proxy) Gets theOsidSessionassociated with the subject search service.getSubjectSearchSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the subject search service for the given ontology.getSubjectSmartOntologySession(Id ontologyId, Proxy proxy) 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 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 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.- Parameters:
proxy- a proxy- Returns:
- a
SubjectLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectLookup()} is {@code true} .
-
getSubjectLookupSessionForOntology
SubjectLookupSession getSubjectLookupSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject lookup service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a SubjectLookupSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject lookup service for the givenIdassigned using theOntologyAssignmentSession.- Parameters:
id- anIdproxy- a proxy- Returns:
a SubjectLookupSession- Throws:
NotFoundException-idnot foundNullArgumentException-idorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
SubjectQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjecQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectQuery()} is {@code true} .
-
getSubjectQuerySessionForOntology
SubjectQuerySession getSubjectQuerySessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject query service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
- a
SubjectQuerySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
SubjectSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectSearch()} is {@code true} .
-
getSubjectSearchSessionForOntology
SubjectSearchSession getSubjectSearchSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject search service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a SubjectSearchSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
SubjectAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectAdmin()} is {@code true} .
-
getSubjectAdminSessionForOntology
SubjectAdminSession getSubjectAdminSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject admin service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a SubjectAdminSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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, Proxy proxy) throws OperationFailedException Gets the notification session for notifications pertaining to subject changes.- Parameters:
subjectReceiver- the subject receiverproxy- a proxy- Returns:
- a
SubjectNotificationSession - Throws:
NullArgumentException-subjectReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject notification service for the given ontology.- Parameters:
subjectReceiver- the subject receiverontologyId- theIdof the ontologyproxy- a proxy- Returns:
a SubjectNotificationSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-subjectReceiver, ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
SubjectHierarchySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectHierarchy() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchy()} is true.
-
getSubjectHierarchySessionForOntology
SubjectHierarchySession getSubjectHierarchySessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject heirarchy traversal service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
- a
SubjectHierarchySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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, Proxy proxy) throws NotFoundException, OperationFailedException Gets the hierarchy session for the givenIdassigned using theOntologyAssignmentSession.- Parameters:
id- anIdproxy- a proxy- Returns:
- a
SubjectHierarchySession - Throws:
NotFoundException-idnot foundNullArgumentException-idorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsSubjectHierarchy()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchy()} and {@code supportsVisibleFederation()} are {@code true} .
-
getSubjectHierarchyDesignSession
SubjectHierarchyDesignSession getSubjectHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets the session designing subject hierarchies.- Parameters:
proxy- a proxy- Returns:
- a
SubjectHierarchyDesignSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectHierarchyDesign() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectHierarchyDesign()} is true.
-
getSubjectHierarchyDesignSessionForOntology
SubjectHierarchyDesignSession getSubjectHierarchyDesignSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the subject heirarchy design service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
- a
SubjectHierarchyDesignSession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
SubjectOntologySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectOntology() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectOntology()} is true.
-
getSubjectOntologyAssignmentSession
SubjectOntologyAssignmentSession getSubjectOntologyAssignmentSession(Proxy proxy) throws OperationFailedException Gets the session managing subject ontology mappings.- Parameters:
proxy- a proxy- Returns:
- a
SubjectOntologyAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectOntologyAssignment() is false- Compliance:
optional- This method must be implemented if {@code supportsSubjectOntologyAssignment()} is true.
-
getSubjectSmartOntologySession
SubjectOntologySession getSubjectSmartOntologySession(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the session managing subject smart ontologies.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
- a
SubjectSmartOntologySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyLookup()} is {@code true} .
-
getRelevancyLookupSessionForOntology
RelevancyLookupSession getRelevancyLookupSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy lookup service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a RelevancyLookupSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyQuery()} is {@code true} .
-
getRelevancyQuerySessionForOntology
RelevancyQuerySession getRelevancyQuerySessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy query service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a RelevancyQuerySession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
RelevanctSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancySearch()} is {@code true} .
-
getRelevancySearchSessionForOntology
RelevancySearchSession getRelevancySearchSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy search service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a RelevancySearchSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
RelvancyAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyAdmin()} is {@code true} .
-
getRelevancyAdminSessionForOntology
RelevancyAdminSession getRelevancyAdminSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy admin service for the given ontology.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
a RelevancyAdminSession- Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException-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, Proxy proxy) throws OperationFailedException Gets the notification session for notifications pertaining to relevancy changes.- Parameters:
relevancyReceiver- the relevancy receiverproxy- a proxy- Returns:
- a
RelevancyNotificationSession - Throws:
NullArgumentException-relevancyReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy notification service for the given ontology.- Parameters:
relevancyReceiver- the subject receiverontologyId- theIdof the ontologyproxy- a proxy- Returns:
- a
RelevancyNotificationSession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-relevancyReceiver, ontologyIdorproxyisnullOperationFailedException-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.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyOntologySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyOntology() is false- Compliance:
optional- This method must be implemented if {@code supportsRelevancyOntology()} is true.
-
getRelevancyOntologyAssignmentSession
RelevancyOntologyAssignmentSession getRelevancyOntologyAssignmentSession(Proxy proxy) throws OperationFailedException Gets the session managing relevancy ontology mappings.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyOntologyAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyOntologyAssignment() is false- Compliance:
optional- This method must be implemented if {@code supportsRelevancyOntologyAssignment()} is true.
-
getRelevancySmartOntologySession
RelevancySmartOntologySession getRelevancySmartOntologySession(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the session managing relevancy smart ontologies.- Parameters:
ontologyId- theIdof the ontologyproxy- a proxy- Returns:
- a
RelevancySmartOntologySession - Throws:
NotFoundException-ontologyIdnot foundNullArgumentException-ontologyIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
OntologyLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
OntologyQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
OntologySearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
OntologyAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsOntologyAdmin() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyAdmin()} is true.
-
getOntologyNotificationSession
OntologyNotificationSession getOntologyNotificationSession(OntologyReceiver ontologyReceiver, Proxy proxy) throws OperationFailedException Gets the notification session for notifications pertaining to ontology service changes.- Parameters:
ontologyReceiver- the ontology receiverproxy- a proxy- Returns:
- an
OntologyNotificationSession - Throws:
NullArgumentException-ontologyReceiverorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
OntologyHierarchySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsOntologyHierarchy() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyHierarchy()} is true.
-
getOntologyHierarchyDesignSession
OntologyHierarchyDesignSession getOntologyHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets the session designing ontology hierarchies.- Parameters:
proxy- a proxy- Returns:
- an
OntologyHierarchyDesignSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- an
OntologyAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsOntologyAssignment() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyAssignment()} is true.
-
getOntologyBatchProxyManager
Gets the ontology batch service.- Returns:
- an
OntologyBatchProxyManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyBatch() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyBatch()} is true.
-
getOntologyRulesProxyManager
Gets the ontology rules service.- Returns:
- an
OntologyRulesProxyManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyRules() is false- Compliance:
optional- This method must be implemented if {@code supportsOntologyRules()} is true.
-