Mercurial > hg > orthanc-databases
comparison Odbc/Plugins/OdbcIndex.h @ 569:f18e46d7dbf8 attach-custom-data
merged find-refactoring -> attach-custom-data
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 24 Sep 2024 15:04:21 +0200 |
parents | cd9521e04249 451125122692 |
children |
comparison
equal
deleted
inserted
replaced
368:82f73188b58d | 569:f18e46d7dbf8 |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
4 * Department, University Hospital of Liege, Belgium | 4 * Department, University Hospital of Liege, Belgium |
5 * Copyright (C) 2017-2021 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2023 Osimis S.A., Belgium |
6 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium | |
7 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | |
6 * | 8 * |
7 * This program is free software: you can redistribute it and/or | 9 * This program is free software: you can redistribute it and/or |
8 * modify it under the terms of the GNU Affero General Public License | 10 * modify it under the terms of the GNU Affero General Public License |
9 * as published by the Free Software Foundation, either version 3 of | 11 * as published by the Free Software Foundation, either version 3 of |
10 * the License, or (at your option) any later version. | 12 * the License, or (at your option) any later version. |
53 | 55 |
54 void SetConnectionRetryInterval(unsigned int seconds); | 56 void SetConnectionRetryInterval(unsigned int seconds); |
55 | 57 |
56 virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE; | 58 virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE; |
57 | 59 |
58 virtual void ConfigureDatabase(DatabaseManager& manager) ORTHANC_OVERRIDE; | 60 virtual void ConfigureDatabase(DatabaseManager& manager, |
61 bool hasIdentifierTags, | |
62 const std::list<IdentifierTag>& identifierTags) ORTHANC_OVERRIDE; | |
59 | 63 |
60 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE | 64 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE |
61 { | 65 { |
62 return true; | 66 return true; |
63 } | 67 } |
85 | 89 |
86 virtual void DeleteAttachment(IDatabaseBackendOutput& output, | 90 virtual void DeleteAttachment(IDatabaseBackendOutput& output, |
87 DatabaseManager& manager, | 91 DatabaseManager& manager, |
88 int64_t id, | 92 int64_t id, |
89 int32_t attachment) ORTHANC_OVERRIDE; | 93 int32_t attachment) ORTHANC_OVERRIDE; |
94 | |
95 // New primitive since Orthanc 1.12.0 | |
96 virtual bool HasLabelsSupport() const ORTHANC_OVERRIDE | |
97 { | |
98 return false; | |
99 } | |
100 | |
101 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) | |
102 virtual bool HasFindSupport() const ORTHANC_OVERRIDE; | |
103 #endif | |
104 | |
105 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5) | |
106 virtual void ExecuteFind(Orthanc::DatabasePluginMessages::TransactionResponse& response, | |
107 DatabaseManager& manager, | |
108 const Orthanc::DatabasePluginMessages::Find_Request& request) ORTHANC_OVERRIDE; | |
109 #endif | |
90 }; | 110 }; |
91 } | 111 } |