]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/proxy/ResourceProxy.java
265ee935282fd7ae3efc15d2261263481c866f05
1 package org
.argeo
.jcr
.proxy
;
4 import javax
.jcr
.Session
;
6 /** A proxy which nows how to resolve and synchronize relative URLs */
7 public interface ResourceProxy
{
8 /** Path to the proxied node (which may not already exist) */
9 public String
getNodePath(String relativePath
);
12 * Proxy the file referenced by this relative path in the underlying
15 * @return the unique identifier of the proxied Node, <code>null</code> if
16 * the resource was not found (e.g. HTPP 404)
18 public Node
proxy(Session session
,String relativePath
);