comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5720:89d559e67b03 find-refactoring

fix compatibility with old database plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Jul 2024 09:30:13 +0200
parents 77875b51cf95
children 95a3802ad133
comparison
equal deleted inserted replaced
5717:c5ca97d21023 5720:89d559e67b03
363 const FindRequest& request, 363 const FindRequest& request,
364 const Capabilities& capabilities) = 0; 364 const Capabilities& capabilities) = 0;
365 365
366 // This is only implemented if "HasIntegratedFind()" is "false" 366 // This is only implemented if "HasIntegratedFind()" is "false"
367 virtual void ExecuteFind(std::list<std::string>& identifiers, 367 virtual void ExecuteFind(std::list<std::string>& identifiers,
368 const FindRequest& request, 368 const Capabilities& capabilities,
369 const Capabilities& capabilities) = 0; 369 const FindRequest& request) = 0;
370 370
371 /** 371 /**
372 * This is only implemented if "HasIntegratedFind()" is 372 * This is only implemented if "HasIntegratedFind()" is
373 * "false". In this flavor, the resource of interest might have 373 * "false". In this flavor, the resource of interest might have
374 * been deleted, as the expansion is not done in the same 374 * been deleted, as the expansion is not done in the same
376 * wrapper should not throw an exception, but simply ignore the 376 * wrapper should not throw an exception, but simply ignore the
377 * request to expand the resource (i.e., "response" must not be 377 * request to expand the resource (i.e., "response" must not be
378 * modified). 378 * modified).
379 **/ 379 **/
380 virtual void ExecuteExpand(FindResponse& response, 380 virtual void ExecuteExpand(FindResponse& response,
381 const Capabilities& capabilities,
381 const FindRequest& request, 382 const FindRequest& request,
382 const std::string& identifier) = 0; 383 const std::string& identifier) = 0;
383 }; 384 };
384 385
385 386