Click or drag to resize

IDataTemplateManagementService Interface

Represents a service which manages user defined templates

Namespace: SanteDB.Core.Templates
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface IDataTemplateManagementService : IServiceImplementation, 
	IRepositoryService<DataTemplateDefinition>, IRepositoryService

The IDataTemplateManagementService type exposes the following members.

Properties
 NameDescription
Public propertyServiceName Gets the service name
(Inherited from IServiceImplementation)
Top
Methods
 NameDescription
Public methodAddOrUpdate Adds or updates the specified definition into the template manager
Public methodDelete Delete the object according to the current DeleteMode or according to server configuration
(Inherited from IRepositoryServiceTModel)
Public methodFind(Expression) Find the specified object
(Inherited from IRepositoryService)
Public methodFind(ExpressionFuncDataTemplateDefinition, Boolean) Find a template definition based on the query provided
Public methodFind(Expression, Int32, NullableInt32, Int32) Find the specified object
(Inherited from IRepositoryService)
Obsolete
Public methodGet(Guid) Gets the specified data template by the UUID key of the template definition
Public methodGet(Guid, Guid) Gets the specified model data at the specified version
(Inherited from IRepositoryServiceTModel)
Public methodInsert(TModel) Inserts the specified model information
(Inherited from IRepositoryServiceTModel)
Public methodInsert(Object) Inserts the specified data.
(Inherited from IRepositoryService)
Public methodRemove Removes the specified template definition
Public methodSave(TModel) Inserts or updates the specified data
(Inherited from IRepositoryServiceTModel)
Public methodSave(Object) Saves the specified data.
(Inherited from IRepositoryService)
Top
Extension Methods
 NameDescription
Public Extension MethodGetByMnemonic Get the data template definition via mnemonic
(Defined by ExtensionMethods)
Top
Remarks
User defined templates are a combination of: 1. A template definition (model template) 2. One or more views for the template representing: - Detail View - Summary View - Back Entry - Entry
See Also