User Notification Template Repository

INotificationTemplateRepository in assembly SanteDB.Core.Api version 3.0.1980.0

Summary

Represents a service which takes / provides structured templates into structured message objects

Operations

Operation
Response/Return
Input/Parameter
Description

Insert

NotificationTemplate

NotificationTemplate template

Insert the specified template

Update

NotificationTemplate

NotificationTemplate template

Updates the specified template

Get

NotificationTemplate

String id String lang

Gets the specified template

Find

IEnumerable<NotificationTemplate>

Expression<Func<NotificationTemplate,Boolean>> filter

Find the specified template

Implementations

AppletNotificationTemplateRepository - (SanteDB.Core.Applets)

An implementation of the INotificationTemplateRepository which loads NotificationTemplate instances from the notification/ folder in applets

Service Registration

...
<section xsi:type="ApplicationServiceContextConfigurationSection" threadPoolSize="4">
	<serviceProviders>
		...
		<add type="SanteDB.Core.Applets.Services.Impl.AppletNotificationTemplateRepository, SanteDB.Core.Applets, Version=3.0.1980.0, Culture=neutral, PublicKeyToken=null" />
		...
	</serviceProviders>

Example Implementation

References

Last updated

Was this helpful?