getFolderTree method
Get folder Tree. Note: not supported on all repositories.
Implementation
void getFolderTree(String folderId) {
if (repositoryId == null) {
throw CmisException('getFolderTree() expects a non null repository Id');
}
final dynamic data = jsonobject.JsonObjectLite<dynamic>();
data.objectId = folderId;
data.cmisselector = 'folderTree';
data.includePropertyDefinitions = _opCtx.includePropertyDefinitions;
data.depth = depth;
data.propertyFilter = _opCtx.propertyFilter;
data.renditionFilter = _opCtx.renditionFilter;
data.includePathSegment = _opCtx.includePathSegment;
data.includeAllowableActions = _opCtx.includeAllowableActions;
data.includeRelationships = _opCtx.includeRelationships;
data.succint = _opCtx.succint;
final rootUrl = _getRootFolderUrl();
_httpRequest('GET', rootUrl, data: data);
}