projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work on logical backups.
[lgpl/argeo-commons.git]
/
org.argeo.jcr
/
src
/
org
/
argeo
/
jcr
/
Jcr.java
diff --git
a/org.argeo.jcr/src/org/argeo/jcr/Jcr.java
b/org.argeo.jcr/src/org/argeo/jcr/Jcr.java
index 4b8bfc3eae5761bcfd3d04f8cd188706ba99c242..20325cfe0bd30143ba1e9a8ac4d7f3a04dbd584c 100644
(file)
--- a/
org.argeo.jcr/src/org/argeo/jcr/Jcr.java
+++ b/
org.argeo.jcr/src/org/argeo/jcr/Jcr.java
@@
-132,6
+132,14
@@
public class Jcr {
}
}
+ /**
+ * @see Node#getParent()
+ * @throws JcrException caused by {@link RepositoryException}
+ */
+ public static String getParentPath(Node node) {
+ return getPath(getParent(node));
+ }
+
/**
* Whether this node is the root node.
*