Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.h @ 5497:4dd50c4b985a pg-transactions
merge default -> pg-transactions
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 23 Jan 2024 17:05:28 +0100 |
parents | dceed5e3d6a9 4b3f5986eca1 |
children | 0d433132b249 |
comparison
equal
deleted
inserted
replaced
5494:3e02be2ccaee | 5497:4dd50c4b985a |
---|---|
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-2023 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2024 Osimis S.A., Belgium |
6 * Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | 6 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
7 * | 7 * |
8 * This program is free software: you can redistribute it and/or | 8 * This program is free software: you can redistribute it and/or |
9 * modify it under the terms of the GNU General Public License as | 9 * modify it under the terms of the GNU General Public License as |
10 * published by the Free Software Foundation, either version 3 of the | 10 * published by the Free Software Foundation, either version 3 of the |
11 * License, or (at your option) any later version. | 11 * License, or (at your option) any later version. |
800 void ModifyLabel(const std::string& publicId, | 800 void ModifyLabel(const std::string& publicId, |
801 ResourceType level, | 801 ResourceType level, |
802 const std::string& label, | 802 const std::string& label, |
803 LabelOperation operation); | 803 LabelOperation operation); |
804 | 804 |
805 void AddLabels(const std::string& publicId, | |
806 ResourceType level, | |
807 const std::set<std::string>& labels); | |
808 | |
805 bool HasLabelsSupport(); | 809 bool HasLabelsSupport(); |
806 }; | 810 }; |
807 } | 811 } |