Refactor to use ACR instead of JCR.
[lgpl/argeo-commons.git] / org.argeo.api.acr / src / org / argeo / api / acr / spi / ProvidedContent.java
index d2509a49d8a9c68642c3023b50ad8b3b90fb41de..d9f378329f59a3d8932910cf2328df97f4d27796 100644 (file)
@@ -8,6 +8,14 @@ public interface ProvidedContent extends Content {
 
        ContentProvider getProvider();
 
+       int getDepth();
+
+       /**
+        * An opaque ID which is guaranteed to uniquely identify this content within the
+        * session return by {@link #getSession()}. Typically used for UI.
+        */
+       String getSessionLocalId();
+
        default ProvidedContent getMountPoint(String relativePath) {
                throw new UnsupportedOperationException("This content doe not support mount");
        }