]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.api.acr/src/org/argeo/api/acr/spi/ProvidedContent.java
Introduce system roles
[lgpl/argeo-commons.git] / org.argeo.api.acr / src / org / argeo / api / acr / spi / ProvidedContent.java
1 package org.argeo.api.acr.spi;
2
3 import org.argeo.api.acr.Content;
4
5 /** A {@link Content} implementation. */
6 public interface ProvidedContent extends Content {
7 ProvidedSession getSession();
8
9 ContentProvider getProvider();
10
11 int getDepth();
12
13 /**
14 * An opaque ID which is guaranteed to uniquely identify this content within the
15 * session return by {@link #getSession()}. Typically used for UI.
16 */
17 String getSessionLocalId();
18
19 default ProvidedContent getMountPoint(String relativePath) {
20 throw new UnsupportedOperationException("This content doe not support mount");
21 }
22 }