comparison OrthancServer/Sources/ServerIndex.h @ 4568:a3e6aa2b07b0 db-changes

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Mar 2021 15:00:58 +0100
parents b812a5f2cef3
children c12d4e5f469b
comparison
equal deleted inserted replaced
4567:b812a5f2cef3 4568:a3e6aa2b07b0
151 bool hasTransferSyntax, 151 bool hasTransferSyntax,
152 DicomTransferSyntax transferSyntax, 152 DicomTransferSyntax transferSyntax,
153 bool hasPixelDataOffset, 153 bool hasPixelDataOffset,
154 uint64_t pixelDataOffset); 154 uint64_t pixelDataOffset);
155 155
156 void LogChange(ChangeType changeType,
157 const std::string& publicId);
158
159 StoreStatus AddAttachment(const FileInfo& attachment, 156 StoreStatus AddAttachment(const FileInfo& attachment,
160 const std::string& publicId); 157 const std::string& publicId);
161
162 void DeleteAttachment(const std::string& publicId,
163 FileContentType type);
164 158
165 void ReconstructInstance(const ParsedDicomFile& dicom); 159 void ReconstructInstance(const ParsedDicomFile& dicom);
166 160
167 161
168 162
386 void ClearExportedResources() 380 void ClearExportedResources()
387 { 381 {
388 db_.ClearExportedResources(); 382 db_.ClearExportedResources();
389 } 383 }
390 384
385 void DeleteAttachment(int64_t id,
386 FileContentType attachment)
387 {
388 return db_.DeleteAttachment(id, attachment);
389 }
390
391 void DeleteMetadata(int64_t id, 391 void DeleteMetadata(int64_t id,
392 MetadataType type) 392 MetadataType type)
393 { 393 {
394 db_.DeleteMetadata(id, type); 394 db_.DeleteMetadata(id, type);
395 } 395 }
593 593
594 void DeleteExportedResources(); 594 void DeleteExportedResources();
595 595
596 void SetGlobalProperty(GlobalProperty property, 596 void SetGlobalProperty(GlobalProperty property,
597 const std::string& value); 597 const std::string& value);
598
599 void DeleteAttachment(const std::string& publicId,
600 FileContentType type);
601
602 void LogChange(ChangeType changeType,
603 const std::string& publicId);
598 }; 604 };
599 } 605 }