Interface OntologyRulesManager
- All Superinterfaces:
AutoCloseable, Closeable, OntologyRulesProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The ontology rules manager provides access to ontology rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
RelevancyEnablerLookupSession: a session to retrieve relevancy enablers -
RelevancyEnablerQuerySession: a session to query for relevancy enablers -
RelevancyEnablerSearchSession: a session to search for relevancy enablers -
RelevancyEnablerAdminSession: a session to create and delete relevancy enablers -
RelevancyEnablerNotificationSession: a session to receive notifications pertaining to relevancy enabler changes -
RelevancyEnablerOntologySession: a session to look up relevancy enabler ontology mappings -
RelevancyEnablerOntologyAssignmentSession: a session to manage relevancy enabler to ontology mappings -
RelevancyEnablerSmartOntologySession: a session to manage dynamic ontologies of relevancy enablers -
RelevancyEnablerRuleLookupSession: a session to look up relevancy enabler to relevancy mappings -
RelevancyEnablerRuleApplicationSession: a session to apply relevancy enablers to relevancies
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the relevancy enabler administration service.getRelevancyEnablerAdminSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy enabler administration service for the given ontology.Gets theOsidSessionassociated with the relevancy enabler lookup service.getRelevancyEnablerLookupSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy enabler lookup service for the given ontology.getRelevancyEnablerNotificationSession(RelevancyEnablerReceiver relevancyEnablerReceiver) Gets theOsidSessionassociated with the relevancy enabler notification service.getRelevancyEnablerNotificationSessionForOntology(RelevancyEnablerReceiver relevancyEnablerReceiver, Id ontologyId) Gets theOsidSessionassociated with the relevancy enabler notification service for the given ontology.Gets theOsidSessionassociated with assigning relevancy enablers to ontologies for relevancy.Gets theOsidSessionto lookup relevancy enabler/ontology mappings for relevancy enablers.Gets theOsidSessionassociated with the relevancy enabler query service.getRelevancyEnablerQuerySessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy enabler query service for the given ontology.Gets theOsidSessionassociated with the relevancy enabler assignment service.Gets theOsidSessionassociated with the relevancy enabler assignment service for the given ontology.Gets theOsidSessionassociated with the relevancy enabler mapping lookup service.getRelevancyEnablerRuleLookupSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy enabler mapping lookup service for the given ontology.Gets theOsidSessionassociated with the relevancy enabler search service.getRelevancyEnablerSearchSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the relevancy enablers earch service for the given ontology.getRelevancyEnablerSmartOntologySession(Id ontologyId) Gets theOsidSessionto manage relevancy enabler smart ontologies.Methods inherited from interface OntologyRulesProfile
getRelevancyEnablerRecordTypes, getRelevancyEnablerSearchRecordTypes, supportsRelevancyEnablerAdmin, supportsRelevancyEnablerLookup, supportsRelevancyEnablerNotification, supportsRelevancyEnablerOntology, supportsRelevancyEnablerOntologyAssignment, supportsRelevancyEnablerQuery, supportsRelevancyEnablerRecordType, supportsRelevancyEnablerRuleApplication, supportsRelevancyEnablerRuleLookup, supportsRelevancyEnablerSearch, supportsRelevancyEnablerSearchRecordType, supportsRelevancyEnablerSmartOntology, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedRelevancyEnablerrecord types.Gets the supportedRelevancyEnablersearch record types.booleanTests if a relevancy enabler administrative service is supported.booleanTests if looking up relevancy enablers is supported.booleanTests if a relevancy enabler notification service is supported.booleanTests if a relevancy enabler ontology lookup service is supported.booleanTests if a relevancy enabler ontology service is supported.booleanTests if querying relevancy enablers is supported.booleansupportsRelevancyEnablerRecordType(Type relevancyEnablerRecordType) Tests if the givenRelevancyEnablerrecord type is supported.booleanTests if a relevancy enabler rule application service is supported.booleanTests if a relevancy enabler rule lookup service is supported.booleanTests if searching relevancy enablers is supported.booleansupportsRelevancyEnablerSearchRecordType(Type relevancyEnablerSearchRecordType) Tests if the givenRelevancyEnablersearch record type is supported.booleanTests if a relevancy enabler ontology lookup service is supported.booleanTests if any broker federation is exposed.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
-
getRelevancyEnablerLookupSession
Gets theOsidSessionassociated with the relevancy enabler lookup service.- Returns:
- a
RelevancyEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerLookup()} is {@code true} .
-
getRelevancyEnablerLookupSessionForOntology
RelevancyEnablerLookupSession getRelevancyEnablerLookupSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler lookup service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerLookupSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyEnablerQuerySession
Gets theOsidSessionassociated with the relevancy enabler query service.- Returns:
- a
RelevancyEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerQuery()} is {@code true} .
-
getRelevancyEnablerQuerySessionForOntology
RelevancyEnablerQuerySession getRelevancyEnablerQuerySessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler query service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerQuerySession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelevancyEnablerSearchSession
Gets theOsidSessionassociated with the relevancy enabler search service.- Returns:
- a
RelevancyEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerSearch()} is {@code true} .
-
getRelevancyEnablerSearchSessionForOntology
RelevancyEnablerSearchSession getRelevancyEnablerSearchSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enablers earch service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerSearchSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyEnablerAdminSession
Gets theOsidSessionassociated with the relevancy enabler administration service.- Returns:
- a
RelevancyEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerAdmin()} is {@code true} .
-
getRelevancyEnablerAdminSessionForOntology
RelevancyEnablerAdminSession getRelevancyEnablerAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler administration service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerAdminSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelevancyEnablerNotificationSession
RelevancyEnablerNotificationSession getRelevancyEnablerNotificationSession(RelevancyEnablerReceiver relevancyEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler notification service.- Parameters:
relevancyEnablerReceiver- the notification callback- Returns:
- a
RelevancyEnablerNotificationSession - Throws:
NullArgumentException-relevancyEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerNotification()} is {@code true} .
-
getRelevancyEnablerNotificationSessionForOntology
RelevancyEnablerNotificationSession getRelevancyEnablerNotificationSessionForOntology(RelevancyEnablerReceiver relevancyEnablerReceiver, Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler notification service for the given ontology.- Parameters:
relevancyEnablerReceiver- the notification callbackontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerNotificationSession - Throws:
NotFoundException- no ontology found by the givenIdNullArgumentException-relevancyEnablerReceiverorontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyEnablerOntologySession
RelevancyEnablerOntologySession getRelevancyEnablerOntologySession() throws OperationFailedExceptionGets theOsidSessionto lookup relevancy enabler/ontology mappings for relevancy enablers.- Returns:
- a
RelevancyEnablerOntologySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerOntology()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerOntology()} is {@code true} .
-
getRelevancyEnablerOntologyAssignmentSession
RelevancyEnablerOntologyAssignmentSession getRelevancyEnablerOntologyAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning relevancy enablers to ontologies for relevancy.- Returns:
- a
RelevancyEnablerOntologyAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerOntologyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerOntologyAssignment()} is {@code true} .
-
getRelevancyEnablerSmartOntologySession
RelevancyEnablerSmartOntologySession getRelevancyEnablerSmartOntologySession(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage relevancy enabler smart ontologies.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerSmartOntologySession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerSmartOntology()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerSmartOntology()} is {@code true} .
-
getRelevancyEnablerRuleLookupSession
RelevancyEnablerRuleLookupSession getRelevancyEnablerRuleLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relevancy enabler mapping lookup service.- Returns:
- a
RelevancyEnablerRuleSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleLookup()} is {@code true} .
-
getRelevancyEnablerRuleLookupSessionForOntology
RelevancyEnablerRuleLookupSession getRelevancyEnablerRuleLookupSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler mapping lookup service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerRuleLookupSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyEnablerRuleApplicationSession
RelevancyEnablerRuleApplicationSession getRelevancyEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the relevancy enabler assignment service.- Returns:
- a
RelevancyEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleApplication()} is {@code true} .
-
getRelevancyEnablerRuleApplicationSessionForOntology
RelevancyEnablerRuleApplicationSession getRelevancyEnablerRuleApplicationSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler assignment service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyEnablerRuleApplicationSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-