Examples of RepositoryFileAcl


Examples of org.pentaho.platform.api.repository2.unified.RepositoryFileAcl

    }
    RepositoryFile.Builder builder =
        new RepositoryFile.Builder( RepositoryFilenameUtils.getName( folderPath ) ).path(
            RepositoryFilenameUtils.getPath( folderPath ) ).folder( true ).hidden( isHidden );
    RepositoryFile repoFile = builder.build();
    RepositoryFileAcl repoAcl = getImportSession().processAclForFile( manifestKey );
    if ( repoAcl != null ) {
      repoFile = repository.createFolder( parentId, repoFile, repoAcl, null );
      RepositoryFileAcl repositoryFileAcl = null;
      try {
        repositoryFileAcl =
            getImportSession().getManifest().getExportManifestEntity( manifestKey ).getRepositoryFileAcl();
      } catch ( NullPointerException e ) {
        // If npe then manifest entry is not defined which is likely so just ignore
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.