Package org.saiku.repository

Examples of org.saiku.repository.RepositoryFolderObject


      List<AclMethod> acls = getAcl(path, false);
      if (!file.isDirectory()) {
        String extension = file.getExtension();
        repoObjects.add(new RepositoryFileObject(filename, "#" + relativePath, extension, relativePath, acls));
      } else {
        repoObjects.add(new RepositoryFolderObject(filename, "#" + relativePath, relativePath, acls, getRepositoryObjects(root, relativePath, type, hidden)));
      }
      Collections.sort(repoObjects, new Comparator<IRepositoryObject>() {

        public int compare(IRepositoryObject o1, IRepositoryObject o2) {
          if (o1.getType().equals(IRepositoryObject.Type.FOLDER) && o2.getType().equals(IRepositoryObject.Type.FILE))
View Full Code Here


                children.add(new RepositoryFileObject(t, "#" + relativePath + "/" + n, fileType, relativePath + "/" + n, acls));
              }
            }
            children.addAll(processTree(node, parentPath + "/" + name, fileType));
            List<AclMethod> acls = getAcl(relativePath, true);
            repoObjects.add(new RepositoryFolderObject(localizedName, "#" + relativePath, relativePath, acls, children));
          } else if (visible && !isDirectory) {
            if (StringUtils.isBlank(fileType) || name.endsWith(fileType)) {
              List<AclMethod> acls = getAcl(relativePath + "/" + name, false);
              repoObjects.add(new RepositoryFileObject(localizedName, "#" + relativePath + "/" + name, fileType, relativePath + "/" + name, acls));
            }
View Full Code Here

TOP

Related Classes of org.saiku.repository.RepositoryFolderObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.