Interface TopologyRulesManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable, TopologyRulesProfile
The topology rules manager provides access to topology rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
EdgeEnablerLookupSession: a session to retrieve edge enablers -
EdgeEnablerQuerySession: a session to query for edge enablers -
EdgeEnablerSearchSession: a session to search for edge enablers -
EdgeEnablerAdminSession: a session to create and delete edge enablers -
EdgeEnablerNotificationSession: a session to receive notifications pertaining to edge enabler changes -
EdgeEnablerGraphSession: a session to look up edge enabler graph mappings -
EdgeEnablerGraphAssignmentSession: a session to manage edge enabler to graph mappings -
EdgeEnablerSmartGraphSession: a session to manage dynamic ontologies of edge enablers -
EdgeEnablerRuleLookupSession: a session to look up edge enabler to edge mappings -
EdgeEnablerRuleApplicationSession: a session to apply edge enablers to edges
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the edge enabler administration service.getEdgeEnablerAdminSessionForGraph(Id graphId) Gets theOsidSessionassociated with the edge enabler administration service for the given graph.Gets theOsidSessionassociated with assigning edge enablers to ontologies for edge.Gets theOsidSessionto lookup edge enabler/graph mappings for edge enablers.Gets theOsidSessionassociated with the edge enabler lookup service.getEdgeEnablerLookupSessionForGraph(Id graphId) Gets theOsidSessionassociated with the edge enabler lookup service for the given graph.getEdgeEnablerNotificationSession(EdgeEnablerReceiver edgeEnablerReceiver) Gets theOsidSessionassociated with the edge enabler notification service.getEdgeEnablerNotificationSessionForGraph(EdgeEnablerReceiver edgeEnablerReceiver, Id graphId) Gets theOsidSessionassociated with the edge enabler notification service for the given graph.Gets theOsidSessionassociated with the edge enabler query service.getEdgeEnablerQuerySessionForGraph(Id graphId) Gets theOsidSessionassociated with the edge enabler query service for the given graph.Gets theOsidSessionassociated with the edge enabler assignment service to apply enablers to ontologies.Gets theOsidSessionassociated with the edge enabler assignment service for the given graph to apply enablers to ontologies.Gets theOsidSessionassociated with the edge enabler mapping lookup service for looking up the rules applied to the graph.Gets theOsidSessionassociated with the edge enabler mapping lookup service for the given graph for looking up rules applied to a graph.Gets theOsidSessionassociated with the edge enabler search service.getEdgeEnablerSearchSessionForGraph(Id graphId) Gets theOsidSessionassociated with the edge enablers earch service for the given graph.getEdgeEnablerSmartGraphSession(Id graphId) Gets theOsidSessionto manage edge enabler smart ontologies.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.Methods inherited from interface TopologyRulesProfile
getEdgeEnablerRecordTypes, getEdgeEnablerSearchRecordTypes, supportsEdgeEnablerAdmin, supportsEdgeEnablerGraph, supportsEdgeEnablerGraphAssignment, supportsEdgeEnablerLookup, supportsEdgeEnablerNotification, supportsEdgeEnablerQuery, supportsEdgeEnablerRecordType, supportsEdgeEnablerRuleApplication, supportsEdgeEnablerRuleLookup, supportsEdgeEnablerSearch, supportsEdgeEnablerSearchRecordType, supportsEdgeEnablerSmartGraph, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedEdgeEnablerrecord types.Gets the supportedEdgeEnablersearch record types.booleanTests if an edge enabler administrative service is supported.booleanTests if an edge enabler graph lookup service is supported.booleanTests if an edge enabler graph service is supported.booleanTests if looking up edge enablers is supported.booleanTests if an edge enabler notification service is supported.booleanTests if querying edge enablers is supported.booleansupportsEdgeEnablerRecordType(Type edgeEnablerRecordType) Tests if the givenEdgeEnablerrecord type is supported.booleanTests if an edge enabler rule application service is supported.booleanTests if an edge enabler rule lookup service is supported.booleanTests if searching edge enablers is supported.booleansupportsEdgeEnablerSearchRecordType(Type edgeEnablerSearchRecordType) Tests if the givenEdgeEnablersearch record type is supported.booleanTests if an edge enabler graph lookup service is supported.booleanTests if any broker federation is exposed.
-
Method Details
-
getEdgeEnablerLookupSession
Gets theOsidSessionassociated with the edge enabler lookup service.- Returns:
- an
EdgeEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerLookup()} is {@code true} .
-
getEdgeEnablerLookupSessionForGraph
EdgeEnablerLookupSession getEdgeEnablerLookupSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enabler lookup service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerLookupSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEdgeEnablerQuerySession
Gets theOsidSessionassociated with the edge enabler query service.- Returns:
- an
EdgeEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerQuery()} is {@code true} .
-
getEdgeEnablerQuerySessionForGraph
EdgeEnablerQuerySession getEdgeEnablerQuerySessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enabler query service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerQuerySession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEdgeEnablerSearchSession
Gets theOsidSessionassociated with the edge enabler search service.- Returns:
- an
EdgeEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerSearch()} is {@code true} .
-
getEdgeEnablerSearchSessionForGraph
EdgeEnablerSearchSession getEdgeEnablerSearchSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enablers earch service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerSearchSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEdgeEnablerAdminSession
Gets theOsidSessionassociated with the edge enabler administration service.- Returns:
- an
EdgeEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerAdmin()} is {@code true} .
-
getEdgeEnablerAdminSessionForGraph
EdgeEnablerAdminSession getEdgeEnablerAdminSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enabler administration service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerAdminSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEdgeEnablerNotificationSession
EdgeEnablerNotificationSession getEdgeEnablerNotificationSession(EdgeEnablerReceiver edgeEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the edge enabler notification service.- Parameters:
edgeEnablerReceiver- the notification callback- Returns:
- an
EdgeEnablerNotificationSession - Throws:
NullArgumentException-edgeEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerNotification()} is {@code true} .
-
getEdgeEnablerNotificationSessionForGraph
EdgeEnablerNotificationSession getEdgeEnablerNotificationSessionForGraph(EdgeEnablerReceiver edgeEnablerReceiver, Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enabler notification service for the given graph.- Parameters:
edgeEnablerReceiver- the notification callbackgraphId- theIdof theGraph- Returns:
- an
EdgeEnablerNotificationSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-edgeEnablerReceiverorgraphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEdgeEnablerGraphSession
Gets theOsidSessionto lookup edge enabler/graph mappings for edge enablers.- Returns:
- an
EdgeEnablerGraphSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerGraph()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerGraph()} is {@code true} .
-
getEdgeEnablerGraphAssignmentSession
EdgeEnablerGraphAssignmentSession getEdgeEnablerGraphAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning edge enablers to ontologies for edge.- Returns:
- an
EdgeEnablerGraphAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerGraphAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerGraphAssignment()} is {@code true} .
-
getEdgeEnablerSmartGraphSession
EdgeEnablerSmartGraphSession getEdgeEnablerSmartGraphSession(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage edge enabler smart ontologies.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerSmartGraphSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerSmartGraph()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerSmartGraph()} is {@code true} .
-
getEdgeEnablerRuleLookupSession
Gets theOsidSessionassociated with the edge enabler mapping lookup service for looking up the rules applied to the graph.- Returns:
- an
EdgeEnablerRuleLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerRuleLookup()} is {@code true} .
-
getEdgeEnablerRuleLookupSessionForGraph
EdgeEnablerRuleLookupSession getEdgeEnablerRuleLookupSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enabler mapping lookup service for the given graph for looking up rules applied to a graph.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerRuleLookupSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEdgeEnablerRuleApplicationSession
EdgeEnablerRuleApplicationSession getEdgeEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the edge enabler assignment service to apply enablers to ontologies.- Returns:
- an
EdgeEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerRuleApplication()} is {@code true} .
-
getEdgeEnablerRuleApplicationSessionForGraph
EdgeEnablerRuleApplicationSession getEdgeEnablerRuleApplicationSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the edge enabler assignment service for the given graph to apply enablers to ontologies.- Parameters:
graphId- theIdof theGraph- Returns:
- an
EdgeEnablerRuleApplicationSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEdgeEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEdgeEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-