2 #ifndef FOLDERMANAGEMENT_H
3 #define FOLDERMANAGEMENT_H
43 wstring getPathByFolderId(
fldid_t folderid);
59 wstring getPathByDocId(
docid_t docid);
90 bool isPathCorrect(std::wstring path);
106 static bool isRelativePath(std::wstring path);
121 int dumpFolderTree(
fldid_t rootid,
bool recursive =
true,
bool includingDocs =
true);
231 int getDocumentIdsByPath(wstring path, vector<docid_t>& docids,
fldid_t from =
FLDID_UNDEF);
257 int getObjectIdsByPath(wstring path, vector<fileableobject_id>& eids,
int types,
fldid_t from =
FLDID_UNDEF);
271 bool folderExists(
fldid_t fldid);