Data Archiving Service
Last updated
Was this helpful?
Last updated
Was this helpful?
IDataArchiveService
in assembly SanteDB.Core.Api version 3.0.1980.0
Service contract for data archival and purging
The data archive service is used by various jobs throughout SanteDB iCDR (such as the ) 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.
Archive
void
Type modelType Guid[] keysToBeArchived
Push the specified records to the archive
Retrieve
IdentifiedData
Type modelType Guid keyToRetrieve
Retrieve a record from the archive by key and type
Exists
Boolean
Type modelType Guid keyToCheck
Validates whether the specified key exists in the archive
Purge
void
Type modelType Guid[] keysToBePurged
Purge the specified object from the archive
None