Click or drag to resize

ISubscriptionExecutor Interface

Contract which defines a dCDR subscription executor

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface ISubscriptionExecutor : IServiceImplementation

The ISubscriptionExecutor type exposes the following members.

Properties
 NameDescription
Public propertyServiceName Gets the service name
(Inherited from IServiceImplementation)
Top
Methods
 NameDescription
Public methodExecute(Guid, NameValueCollection) Executes the identified subscription agianst the persistence layer.
Public methodExecute(SubscriptionDefinition, NameValueCollection) Executes the provided subscription definition
Top
Events
 NameDescription
Public eventExecuted Occurs after a subscription has been executed, and allows subscribers to modify the data being sent back to the dCDR
Public eventExecuting Occurs prior to a subscription being executed, and allows subscribers to modify the query being executed.
Top
Remarks

The subscription executor is responsible for the translation of a dCDR SubscriptionDefinition from the ISubscriptionRepository to the appropriate database technology. The subscription executor gathers any new records requested by the dCDR and prepares them for download by the dCDR.

See Also