Examples of IAclSolutionFile


Examples of org.pentaho.platform.api.engine.IAclSolutionFile

      }
      // Now, recurse through kids looking for folders...
      Set kids = rootFile.getChildrenFiles();
      if ( kids != null ) { // Doesn't have to have kids in it...
        Iterator it = kids.iterator();
        IAclSolutionFile aChild = null;
        while ( it.hasNext() ) {
          // Recursively publish ACLs for all child folders
          aChild = (IAclSolutionFile) it.next();
          if ( aChild.isDirectory() ) {
            publishDefaultFolderAcls( aChild );
          }
        }
      }
    }
View Full Code Here

Examples of org.pentaho.platform.api.engine.IAclSolutionFile

      assertEquals( perms.size(), defaultAcls.size() );
      assertTrue( perms.entrySet().containsAll( defaultAcls.entrySet() ) );
      Set kidsSet = solnFile.getChildrenFiles();
      Iterator it = kidsSet.iterator();
      while ( it.hasNext() ) {
        IAclSolutionFile kidFile = (IAclSolutionFile) it.next();
        if ( kidFile.isDirectory() ) {
          checkAcls( kidFile );
        }
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.