public Node getParent()

in src/main/java/org/apache/sling/jcr/base/internal/mount/ProxyItem.java [60:74]


    public Node getParent() throws ItemNotFoundException, AccessDeniedException, RepositoryException {

        String parentPath;

        try {
            parentPath = this.delegate.getParent().getPath();
        } catch (Exception ex) {
            if (ex instanceof AccessDeniedException) {
                throw (AccessDeniedException) ex;
            }
            parentPath = PathUtils.getParentPath(this.delegate.getPath());
        }

        return this.mountSession.getNode(parentPath);
    }