protected boolean isEntriesInheriting( final Session session, final String path, final AccessControlList acList) throws RepositoryException { AclMetadata aclMetadata = JcrRepositoryFileAclUtils.getAclMetadata(session, path, acList); if (aclMetadata != null) { return aclMetadata.isEntriesInheriting(); } else { return false; } }
protected String getOwner( final Session session, final String path, final AccessControlList acList) throws RepositoryException { AclMetadata aclMetadata = JcrRepositoryFileAclUtils.getAclMetadata(session, path, acList); if (aclMetadata != null) { return aclMetadata.getOwner(); } else { return null; } }