diff OrthancServer/Sources/Database/StatelessDatabaseOperations.h @ 5757:5463c3ae3235 large-queries

refactored extended /changes
author Alain Mazy <am@orthanc.team>
date Thu, 05 Sep 2024 18:21:56 +0200
parents 3765085693e5
children ca06dde85358
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.h	Thu Jul 04 07:40:58 2024 +0200
+++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.h	Thu Sep 05 18:21:56 2024 +0200
@@ -247,14 +247,14 @@
         transaction_.GetChanges(target, done, since, limit);
       }
 
-      void GetChanges2(std::list<ServerIndexChange>& target /*out*/,
-                       bool& done /*out*/,
-                       int64_t since,
-                       int64_t to,
-                       uint32_t limit,
-                       ChangeType filterType)
+      void GetChangesExtended(std::list<ServerIndexChange>& target /*out*/,
+                              bool& done /*out*/,
+                              int64_t since,
+                              int64_t to,
+                              uint32_t limit,
+                              ChangeType filterType)
       {
-        transaction_.GetChanges2(target, done, since, to, limit, filterType);
+        transaction_.GetChangesExtended(target, done, since, to, limit, filterType);
       }
 
       void GetChildrenInternalId(std::list<int64_t>& target,
@@ -640,15 +640,15 @@
                     int64_t since,
                     uint32_t limit);
 
-    void GetChanges2(Json::Value& target,
-                     int64_t since,
-                     int64_t to,
-                     uint32_t limit,
-                     ChangeType filterType);
+    void GetChangesExtended(Json::Value& target,
+                            int64_t since,
+                            int64_t to,
+                            uint32_t limit,
+                            ChangeType filterType);
 
     void GetLastChange(Json::Value& target);
 
-    bool HasExtendedApiV1();
+    bool HasExtendedChanges();
 
     void GetExportedResources(Json::Value& target,
                               int64_t since,