Click or drag to resize

IDataArchiveService Interface

Service contract for data archival and purging

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IDataArchiveService : IServiceImplementation

The IDataArchiveService type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodArchive
Push the specified records to the archive
Public methodExists
Validates whether the specified key exists in the archive
Public methodPurge
Purge the specified object from the archive
Public methodRetrieve
Retrieve a record from the archive by key and type
Top
Remarks

The data archive service is used by various jobs throughout SanteDB iCDR (such as the DataRetentionJob) to copy records which are past their retention rules to a secondary data storage facility. This service can be used for long-term archival of old (non-clinically relevant data) data and supports the purging of data which is no longer needed.

See Also