comparison OrthancServer/DatabaseWrapper.h @ 198:663cc6c46d0a

before refactoring of ServerIndex::GetXXX
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Nov 2012 15:49:42 +0100
parents 530a25320461
children dfa2899d9960
comparison
equal deleted inserted replaced
197:530a25320461 198:663cc6c46d0a
75 ResourceType type); 75 ResourceType type);
76 76
77 bool LookupResource(const std::string& publicId, 77 bool LookupResource(const std::string& publicId,
78 int64_t& id, 78 int64_t& id,
79 ResourceType& type); 79 ResourceType& type);
80
81 bool LookupParent(int64_t& parentId,
82 int64_t resourceId);
83
84 std::string GetPublicId(int64_t resourceId);
80 85
81 void AttachChild(int64_t parent, 86 void AttachChild(int64_t parent,
82 int64_t child); 87 int64_t child);
83 88
84 void GetChildren(Json::Value& childrenPublicIds, 89 void GetChildren(Json::Value& childrenPublicIds,