@Override public void createDirectory(SrvSession sess, TreeConnection tree, FileOpenParams params) throws IOException { try { FileFilterMode.setClient(ClientHelper.getClient(sess)); try { diskInterface.createDirectory(sess, tree, params); } finally { FileFilterMode.clearClient(); } } catch (org.alfresco.repo.security.permissions.AccessDeniedException ade) { throw new AccessDeniedException("Unable to create directory " + params.getPath(), ade); } }
@Override public void createDirectory(SrvSession sess, TreeConnection tree, FileOpenParams params) throws IOException { diskInterface.createDirectory(sess, tree, params); }