public interface OntologyRulesManager extends OsidManager, OntologyRulesProfile
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 | Modifier and Type | Method and Description |
|---|---|
RelevancyEnablerAdminSession |
getRelevancyEnablerAdminSession()
Gets the
OsidSession associated with the relevancy
enabler administration service. |
RelevancyEnablerAdminSession |
getRelevancyEnablerAdminSessionForOntology(Id ontologyId)
Gets the
OsidSession associated with the relevancy
enabler administration service for the given ontology. |
RelevancyEnablerLookupSession |
getRelevancyEnablerLookupSession()
Gets the
OsidSession associated with the relevancy
enabler lookup service. |
RelevancyEnablerLookupSession |
getRelevancyEnablerLookupSessionForOntology(Id ontologyId)
Gets the
OsidSession associated with the relevancy
enabler lookup service for the given ontology. |
RelevancyEnablerNotificationSession |
getRelevancyEnablerNotificationSession(RelevancyEnablerReceiver relevancyEnablerReceiver)
Gets the
OsidSession associated with the relevancy
enabler notification service. |
RelevancyEnablerNotificationSession |
getRelevancyEnablerNotificationSessionForOntology(RelevancyEnablerReceiver relevancyEnablerReceiver,
Id ontologyId)
Gets the
OsidSession associated with the relevancy
enabler notification service for the given ontology. |
RelevancyEnablerOntologyAssignmentSession |
getRelevancyEnablerOntologyAssignmentSession()
Gets the
OsidSession associated with assigning
relevancy enablers to ontologies for relevancy. |
RelevancyEnablerOntologySession |
getRelevancyEnablerOntologySession()
Gets the
OsidSession to lookup relevancy
enabler/ontology mappings for relevancy enablers. |
RelevancyEnablerQuerySession |
getRelevancyEnablerQuerySession()
Gets the
OsidSession associated with the relevancy
enabler query service. |
RelevancyEnablerQuerySession |
getRelevancyEnablerQuerySessionForOntology(Id ontologyId)
Gets the
OsidSession associated with the relevancy
enabler query service for the given ontology. |
RelevancyEnablerRuleApplicationSession |
getRelevancyEnablerRuleApplicationSession()
Gets the
OsidSession associated with the relevancy
enabler assignment service. |
RelevancyEnablerRuleApplicationSession |
getRelevancyEnablerRuleApplicationSessionForOntology(Id ontologyId)
Gets the
OsidSession associated with the relevancy
enabler assignment service for the given ontology. |
RelevancyEnablerRuleLookupSession |
getRelevancyEnablerRuleLookupSession()
Gets the
OsidSession associated with the relevancy
enabler mapping lookup service. |
RelevancyEnablerRuleLookupSession |
getRelevancyEnablerRuleLookupSessionForOntology(Id ontologyId)
Gets the
OsidSession associated with the relevancy
enabler mapping lookup service for the given ontology. |
RelevancyEnablerSearchSession |
getRelevancyEnablerSearchSession()
Gets the
OsidSession associated with the relevancy
enabler search service. |
RelevancyEnablerSearchSession |
getRelevancyEnablerSearchSessionForOntology(Id ontologyId)
Gets the
OsidSession associated with the relevancy
enablers earch service for the given ontology. |
RelevancyEnablerSmartOntologySession |
getRelevancyEnablerSmartOntologySession(Id ontologyId)
Gets the
OsidSession to manage relevancy enabler smart
ontologies. |
changeBranch, initialize, rollbackServiceclosegetRelevancyEnablerRecordTypes, getRelevancyEnablerSearchRecordTypes, supportsRelevancyEnablerAdmin, supportsRelevancyEnablerLookup, supportsRelevancyEnablerNotification, supportsRelevancyEnablerOntology, supportsRelevancyEnablerOntologyAssignment, supportsRelevancyEnablerQuery, supportsRelevancyEnablerRecordType, supportsRelevancyEnablerRuleApplication, supportsRelevancyEnablerRuleLookup, supportsRelevancyEnablerSearch, supportsRelevancyEnablerSearchRecordType, supportsRelevancyEnablerSmartOntology, supportsVisibleFederationgetBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypegetBranding, getBrandingIds, getLicense, getProvider, getProviderIdRelevancyEnablerLookupSession getRelevancyEnablerLookupSession() throws OperationFailedException
OsidSession associated with the relevancy
enabler lookup service. RelevancyEnablerLookupSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerLookup() is false
optional - This method must be implemented if
supportsRelevancyEnablerLookup() is true.
RelevancyEnablerLookupSession getRelevancyEnablerLookupSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enabler lookup service for the given ontology.ontologyId - the Id of the Ontology
RelevancyEnablerLookupSession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerLookup() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerLookup() and
supportsVisibleFederation() are true.
RelevancyEnablerQuerySession getRelevancyEnablerQuerySession() throws OperationFailedException
OsidSession associated with the relevancy
enabler query service. RelevancyEnablerQuerySession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerQuery() is false
optional - This method must be implemented if
supportsRelevancyEnablerQuery() is true.
RelevancyEnablerQuerySession getRelevancyEnablerQuerySessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enabler query service for the given ontology.ontologyId - the Id of the Ontology
RelevancyEnablerQuerySession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerQuery() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerQuery() and
supportsVisibleFederation() are true
RelevancyEnablerSearchSession getRelevancyEnablerSearchSession() throws OperationFailedException
OsidSession associated with the relevancy
enabler search service. RelevancyEnablerSearchSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerSearch() is false
optional - This method must be implemented if
supportsRelevancyEnablerSearch() is true.
RelevancyEnablerSearchSession getRelevancyEnablerSearchSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enablers earch service for the given ontology.ontologyId - the Id of the Ontology
RelevancyEnablerSearchSession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerSearch() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerSearch() and
supportsVisibleFederation() are true.
RelevancyEnablerAdminSession getRelevancyEnablerAdminSession() throws OperationFailedException
OsidSession associated with the relevancy
enabler administration service. RelevancyEnablerAdminSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerAdmin() is false
optional - This method must be implemented if
supportsRelevancyEnablerAdmin() is true.
RelevancyEnablerAdminSession getRelevancyEnablerAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enabler administration service for the given ontology.ontologyId - the Id of the Ontology
RelevancyEnablerAdminSession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerAdmin() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerAdmin() and
supportsVisibleFederation() are true
RelevancyEnablerNotificationSession getRelevancyEnablerNotificationSession(RelevancyEnablerReceiver relevancyEnablerReceiver) throws OperationFailedException
OsidSession associated with the relevancy
enabler notification service.relevancyEnablerReceiver - the notification callback RelevancyEnablerNotificationSession NullArgumentException - relevancyEnablerReceiver
is null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerNotification() is false
optional - This method must be implemented if
supportsRelevancyEnablerNotification() is
true. RelevancyEnablerNotificationSession getRelevancyEnablerNotificationSessionForOntology(RelevancyEnablerReceiver relevancyEnablerReceiver, Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enabler notification service for the given ontology.relevancyEnablerReceiver - the notification callbackontologyId - the Id of the Ontology
RelevancyEnablerNotificationSession NotFoundException - no ontology found by the given
Id NullArgumentException - relevancyEnablerReceiver
or ontologyId is null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerNotification() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerNotification() and
supportsVisibleFederation() are true.
RelevancyEnablerOntologySession getRelevancyEnablerOntologySession() throws OperationFailedException
OsidSession to lookup relevancy
enabler/ontology mappings for relevancy enablers. RelevancyEnablerOntologySession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerOntology() is false
optional - This method must be implemented if
supportsRelevancyEnablerOntology() is true.
RelevancyEnablerOntologyAssignmentSession getRelevancyEnablerOntologyAssignmentSession() throws OperationFailedException
OsidSession associated with assigning
relevancy enablers to ontologies for relevancy. RelevancyEnablerOntologyAssignmentSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerOntologyAssignment() is
false optional - This method must be implemented if
supportsRelevancyEnablerOntologyAssignment() is
true. RelevancyEnablerSmartOntologySession getRelevancyEnablerSmartOntologySession(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession to manage relevancy enabler smart
ontologies.ontologyId - the Id of the Ontology
RelevancyEnablerSmartOntologySession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerSmartOntology() is
false optional - This method must be implemented if
supportsRelevancyEnablerSmartOntology() is
true. RelevancyEnablerRuleLookupSession getRelevancyEnablerRuleLookupSession() throws OperationFailedException
OsidSession associated with the relevancy
enabler mapping lookup service. RelevancyEnablerRuleSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerRuleLookup() is false
optional - This method must be implemented if
supportsRelevancyEnablerRuleLookup() is
true. RelevancyEnablerRuleLookupSession getRelevancyEnablerRuleLookupSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enabler mapping lookup service for the given ontology.ontologyId - the Id of the Ontology
RelevancyEnablerRuleLookupSession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerRuleLookup() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerRuleLookup() and
supportsVisibleFederation() are true.
RelevancyEnablerRuleApplicationSession getRelevancyEnablerRuleApplicationSession() throws OperationFailedException
OsidSession associated with the relevancy
enabler assignment service. RelevancyEnablerRuleApplicationSession OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerRuleApplication() is
false optional - This method must be implemented if
supportsRelevancyEnablerRuleApplication() is
true. RelevancyEnablerRuleApplicationSession getRelevancyEnablerRuleApplicationSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
OsidSession associated with the relevancy
enabler assignment service for the given ontology.ontologyId - the Id of the Ontology
RelevancyEnablerRuleApplicationSession NotFoundException - no Ontology found by
the given Id NullArgumentException - ontologyId is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsRelevancyEnablerRuleApplication() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsRelevancyEnablerRuleApplication() and
supportsVisibleFederation() are
true.