001
014
015 package com.liferay.portal.sharepoint;
016
017 import com.liferay.portal.kernel.util.StringPool;
018
019
022 public class GroupSharepointStorageImpl extends BaseSharepointStorageImpl {
023
024 @Override
025 public Tree getFoldersTree(SharepointRequest sharepointRequest)
026 throws Exception {
027
028 Tree foldersTree = new Tree();
029
030 String rootPath = sharepointRequest.getRootPath();
031
032 for (String token : SharepointUtil.getStorageTokens()) {
033 String path = rootPath.concat(StringPool.SLASH).concat(token);
034
035 foldersTree.addChild(getFolderTree(path));
036 }
037
038 foldersTree.addChild(getFolderTree(rootPath));
039
040 return foldersTree;
041 }
042
043 }