]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms.jcr/src/org/argeo/jcr/proxy/ResourceProxy.java
Move time UUID nodeid back to the factory
[lgpl/argeo-commons.git] / org.argeo.cms.jcr / src / org / argeo / jcr / proxy / ResourceProxy.java
1 package org.argeo.jcr.proxy;
2
3 import javax.jcr.Node;
4
5 /** A proxy which nows how to resolve and synchronize relative URLs */
6 public interface ResourceProxy {
7 /**
8 * Proxy the file referenced by this relative path in the underlying
9 * repository. A new session is created by each call, so the underlying
10 * session of the returned node must be closed by the caller.
11 *
12 * @return the proxied Node, <code>null</code> if the resource was not found
13 * (e.g. HTTP 404)
14 */
15 public Node proxy(String relativePath);
16 }