Interface OntologyRulesProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OntologyRulesProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The ontology rules proxy manager provides access to ontology rules
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager pass a Proxy for passing
information from server environments. 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, Proxy proxy) Gets theOsidSessionassociated with the relevancy enabler administration service for the given ontology.Gets theOsidSessionassociated with the relevancy enabler lookup service.getRelevancyEnablerLookupSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy enabler lookup service for the given ontology.getRelevancyEnablerNotificationSession(RelevancyEnablerReceiver relevancyEnablerReceiver, Proxy proxy) Gets theOsidSessionassociated with the relevancy enabler notification service.getRelevancyEnablerNotificationSessionForOntology(RelevancyEnablerReceiver relevancyEnablerReceiver, Id ontologyId, Proxy proxy) 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, Proxy proxy) Gets theOsidSessionassociated with the relevancy enabler query service for the given ontology.Gets theOsidSessionassociated with the relevancy enabler assignment service.getRelevancyEnablerRuleApplicationSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy enabler assignment service.Gets theOsidSessionassociated with the relevancy enabler relevancy mapping lookup service.getRelevancyEnablerRuleLookupSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy enabler relevancy mapping lookup service.Gets theOsidSessionassociated with the relevancy enabler search service.getRelevancyEnablerSearchSessionForOntology(Id ontologyId, Proxy proxy) Gets theOsidSessionassociated with the relevancy enablers earch service for the given ontology.getRelevancyEnablerSmartOntologySession(Id ontologyId, Proxy proxy) 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 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
-
getRelevancyEnablerLookupSession
RelevancyEnablerLookupSession getRelevancyEnablerLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler lookup service.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerLookup()} is {@code true} .
-
getRelevancyEnablerLookupSessionForOntology
RelevancyEnablerLookupSession getRelevancyEnablerLookupSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler lookup service for the given ontology.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerLookupSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelevancyEnablerQuerySession
RelevancyEnablerQuerySession getRelevancyEnablerQuerySession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler query service.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerQuery()} is {@code true} .
-
getRelevancyEnablerQuerySessionForOntology
RelevancyEnablerQuerySession getRelevancyEnablerQuerySessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler query service for the given ontology.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerQuerySession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyEnablerSearchSession
RelevancyEnablerSearchSession getRelevancyEnablerSearchSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler search service.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerSearch()} is {@code true} .
-
getRelevancyEnablerSearchSessionForOntology
RelevancyEnablerSearchSession getRelevancyEnablerSearchSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enablers earch service for the given ontology.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerSearchSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getRelevancyEnablerAdminSession
RelevancyEnablerAdminSession getRelevancyEnablerAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler administration service.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerAdmin()} is {@code true} .
-
getRelevancyEnablerAdminSessionForOntology
RelevancyEnablerAdminSession getRelevancyEnablerAdminSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler administration service for the given ontology.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerAdminSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyId or proxy is nullOperationFailedException- 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, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler notification service.- Parameters:
relevancyEnablerReceiver- the notification callbackproxy- a proxy- Returns:
- a
RelevancyEnablerNotificationSession - Throws:
NullArgumentException-relevancyEnablerReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler notification service for the given ontology.- Parameters:
relevancyEnablerReceiver- the notification callbackontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerNotificationSession - Throws:
NotFoundException- no ontology found by the givenIdNullArgumentException-relevancyEnablerReceiver, ontologyIdorproxyisnullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionto lookup relevancy enabler/ontology mappings for relevancy enablers.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerOntologySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerOntology()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerOntology()} is {@code true} .
-
getRelevancyEnablerOntologyAssignmentSession
RelevancyEnablerOntologyAssignmentSession getRelevancyEnablerOntologyAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning relevancy enablers to ontologies for relevancy.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerOntologyAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerOntologyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerOntologyAssignment()} is {@code true} .
-
getRelevancyEnablerSmartOntologySession
RelevancyEnablerSmartOntologySession getRelevancyEnablerSmartOntologySession(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage relevancy enabler smart ontologies.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerSmartOntologySession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerSmartOntology()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerSmartOntology()} is {@code true} .
-
getRelevancyEnablerRuleLookupSession
RelevancyEnablerRuleLookupSession getRelevancyEnablerRuleLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler relevancy mapping lookup service.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerRuleLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleLookup()} is {@code true} .
-
getRelevancyEnablerRuleLookupSessionForOntology
RelevancyEnablerRuleLookupSession getRelevancyEnablerRuleLookupSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler relevancy mapping lookup service.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerRuleLookupSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdorproxyisnullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the relevancy enabler assignment service.- Parameters:
proxy- a proxy- Returns:
- a
RelevancyEnablerRuleApplicationSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleApplication()} is {@code true} .
-
getRelevancyEnablerRuleApplicationSessionForOntology
RelevancyEnablerRuleApplicationSession getRelevancyEnablerRuleApplicationSessionForOntology(Id ontologyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the relevancy enabler assignment service.- Parameters:
ontologyId- theIdof theOntologyproxy- a proxy- Returns:
- a
RelevancyEnablerRuleApplicationSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-