org.nuxeo.ecm.webdav.resource
Class ExistingResource
java.lang.Object
org.nuxeo.ecm.webdav.resource.AbstractResource
org.nuxeo.ecm.webdav.resource.ExistingResource
- Direct Known Subclasses:
- FileResource, FolderResource
public class ExistingResource
- extends AbstractResource
An existing resource corresponds to an existing object (folder or file) in
the repository.
READONLY_TOKEN
public static final String READONLY_TOKEN
- See Also:
- Constant Field Values
delete
public Response delete()
throws Exception
- Throws:
Exception
copy
public Response copy(@HeaderParam(value="Destination")
String dest,
@HeaderParam(value="Overwrite")
String overwrite)
throws Exception
- Throws:
Exception
move
public Response move(@HeaderParam(value="Destination")
String dest,
@HeaderParam(value="Overwrite")
String overwrite)
throws Exception
- Throws:
Exception
proppatch
public Response proppatch(@Context
UriInfo uriInfo)
throws Exception
- Throws:
Exception
mkcol
public Response mkcol()
- We can't MKCOL over an existing resource.
head
public Response head()
lock
public Response lock(@Context
UriInfo uriInfo)
throws Exception
- Throws:
Exception
unlock
public Response unlock()
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SA. All Rights Reserved.