comparison OrthancServer/DatabaseWrapper.h @ 262:2354560daf2f

primitives for recycling patients
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Dec 2012 12:56:27 +0100
parents e4148b0ab1d0
children 4bc02e2254ec
comparison
equal deleted inserted replaced
260:f1fb9d1aa444 262:2354560daf2f
177 uint64_t GetResourceCount(ResourceType resourceType); 177 uint64_t GetResourceCount(ResourceType resourceType);
178 178
179 void GetAllPublicIds(Json::Value& target, 179 void GetAllPublicIds(Json::Value& target,
180 ResourceType resourceType); 180 ResourceType resourceType);
181 181
182 bool SelectPatientToRecycle(int64_t& internalId);
183
184 bool IsProtectedPatient(int64_t internalId);
185
186 void SetProtectedPatient(int64_t internalId,
187 bool isProtected);
188
182 DatabaseWrapper(const std::string& path, 189 DatabaseWrapper(const std::string& path,
183 IServerIndexListener& listener); 190 IServerIndexListener& listener);
184 191
185 DatabaseWrapper(IServerIndexListener& listener); 192 DatabaseWrapper(IServerIndexListener& listener);
186 193