]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.api.acr/src/org/argeo/api/acr/spi/ProvidedContent.java
Improve naming. Fix Argeo namespace base.
[lgpl/argeo-commons.git] / org.argeo.api.acr / src / org / argeo / api / acr / spi / ProvidedContent.java
index d9fc781d0317878d1ba0be628e080e9ac112c30d..d9f378329f59a3d8932910cf2328df97f4d27796 100644 (file)
@@ -2,8 +2,21 @@ package org.argeo.api.acr.spi;
 
 import org.argeo.api.acr.Content;
 
+/** A {@link Content} implementation. */
 public interface ProvidedContent extends Content {
        ProvidedSession getSession();
 
        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");
+       }
 }