Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp @ 5677:dc96401dbe88 find-refactoring
starting the refactoring of /tools/find
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Jul 2024 19:03:23 +0200 |
parents | 3f13db27b399 |
children | 89d559e67b03 |
comparison
equal
deleted
inserted
replaced
5676:b744a2cf408a | 5677:dc96401dbe88 |
---|---|
46 throw OrthancException(ErrorCode_NotImplemented); // Not supported | 46 throw OrthancException(ErrorCode_NotImplemented); // Not supported |
47 } | 47 } |
48 | 48 |
49 | 49 |
50 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(FindResponse& response, | 50 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(FindResponse& response, |
51 const FindRequest& request) | 51 const FindRequest& request, |
52 const Capabilities& capabilities) | |
52 { | 53 { |
53 throw OrthancException(ErrorCode_NotImplemented); // Not supported | 54 throw OrthancException(ErrorCode_NotImplemented); // Not supported |
54 } | 55 } |
55 | 56 |
56 | 57 |
57 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(std::list<std::string>& identifiers, | 58 void BaseDatabaseWrapper::BaseTransaction::ExecuteFind(std::list<std::string>& identifiers, |
58 const FindRequest& request) | 59 const FindRequest& request, |
60 const Capabilities& capabilities) | |
59 { | 61 { |
60 Compatibility::GenericFind find(*this); | 62 Compatibility::GenericFind find(*this); |
61 find.ExecuteFind(identifiers, request); | 63 find.ExecuteFind(identifiers, request, capabilities); |
62 } | 64 } |
63 | 65 |
64 | 66 |
65 void BaseDatabaseWrapper::BaseTransaction::ExecuteExpand(FindResponse& response, | 67 void BaseDatabaseWrapper::BaseTransaction::ExecuteExpand(FindResponse& response, |
66 const FindRequest& request, | 68 const FindRequest& request, |