comparison OrthancServer/IDatabaseWrapper.h @ 3038:53d583d2c775 db-changes

removing IDatabaseWrapper::LookupIdentifier()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Dec 2018 18:06:46 +0100
parents 8fd203510d8b
children 6c5d4281da4a
comparison
equal deleted inserted replaced
3037:d23c84b1c0f5 3038:53d583d2c775
100 virtual bool HasFlushToDisk() const = 0; 100 virtual bool HasFlushToDisk() const = 0;
101 101
102 virtual void GetAllMetadata(std::map<MetadataType, std::string>& target, 102 virtual void GetAllMetadata(std::map<MetadataType, std::string>& target,
103 int64_t id) = 0; 103 int64_t id) = 0;
104 104
105 // TODO: REMOVE THIS
105 virtual void GetAllInternalIds(std::list<int64_t>& target, 106 virtual void GetAllInternalIds(std::list<int64_t>& target,
106 ResourceType resourceType) = 0; 107 ResourceType resourceType) = 0;
107 108
108 virtual void GetAllPublicIds(std::list<std::string>& target, 109 virtual void GetAllPublicIds(std::list<std::string>& target,
109 ResourceType resourceType) = 0; 110 ResourceType resourceType) = 0;
165 int64_t id, 166 int64_t id,
166 FileContentType contentType) = 0; 167 FileContentType contentType) = 0;
167 168
168 virtual bool LookupGlobalProperty(std::string& target, 169 virtual bool LookupGlobalProperty(std::string& target,
169 GlobalProperty property) = 0; 170 GlobalProperty property) = 0;
170
171 virtual void LookupIdentifier(std::list<int64_t>& result,
172 ResourceType level,
173 const DicomTag& tag,
174 IdentifierConstraintType type,
175 const std::string& value) = 0;
176
177 virtual void LookupIdentifierRange(std::list<int64_t>& result,
178 ResourceType level,
179 const DicomTag& tag,
180 const std::string& start,
181 const std::string& end) = 0;
182 171
183 virtual bool LookupMetadata(std::string& target, 172 virtual bool LookupMetadata(std::string& target,
184 int64_t id, 173 int64_t id,
185 MetadataType type) = 0; 174 MetadataType type) = 0;
186 175