Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.h @ 5553:28cc06e4859a large-queries
Added ExtendedApiV1: /changes
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 11 Apr 2024 19:02:20 +0200 |
parents | dd430a1b21fe |
children | 3765085693e5 |
comparison
equal
deleted
inserted
replaced
5549:dcbf0c776945 | 5553:28cc06e4859a |
---|---|
243 uint32_t limit) | 243 uint32_t limit) |
244 { | 244 { |
245 transaction_.GetChanges(target, done, since, limit); | 245 transaction_.GetChanges(target, done, since, limit); |
246 } | 246 } |
247 | 247 |
248 void GetChanges2(std::list<ServerIndexChange>& target /*out*/, | |
249 bool& done /*out*/, | |
250 int64_t since, | |
251 int64_t to, | |
252 uint32_t limit, | |
253 ChangeType filterType) | |
254 { | |
255 transaction_.GetChanges2(target, done, since, to, limit, filterType); | |
256 } | |
257 | |
248 void GetChildrenInternalId(std::list<int64_t>& target, | 258 void GetChildrenInternalId(std::list<int64_t>& target, |
249 int64_t id) | 259 int64_t id) |
250 { | 260 { |
251 transaction_.GetChildrenInternalId(target, id); | 261 transaction_.GetChildrenInternalId(target, id); |
252 } | 262 } |
626 | 636 |
627 void GetChanges(Json::Value& target, | 637 void GetChanges(Json::Value& target, |
628 int64_t since, | 638 int64_t since, |
629 uint32_t limit); | 639 uint32_t limit); |
630 | 640 |
641 void GetChanges2(Json::Value& target, | |
642 int64_t since, | |
643 int64_t to, | |
644 uint32_t limit, | |
645 ChangeType filterType); | |
646 | |
631 void GetLastChange(Json::Value& target); | 647 void GetLastChange(Json::Value& target); |
648 | |
649 bool HasExtendedApiV1(); | |
632 | 650 |
633 void GetExportedResources(Json::Value& target, | 651 void GetExportedResources(Json::Value& target, |
634 int64_t since, | 652 int64_t since, |
635 uint32_t limit); | 653 uint32_t limit); |
636 | 654 |