Nuxeo Filesystem Connectors 5.4.3-SNAPSHOT

org.nuxeo.ecm.webdav.resource
Class ExistingResource

java.lang.Object
  extended by org.nuxeo.ecm.webdav.resource.AbstractResource
      extended by 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.


Method Summary
 Response copy(String dest, String overwrite)
           
 Response delete()
           
 Response head()
           
 Response lock(UriInfo uriInfo)
           
 Response mkcol()
          We can't MKCOL over an existing resource.
 Response move(String dest, String overwrite)
           
 Response proppatch(UriInfo uriInfo)
           
 Response unlock()
           
 
Methods inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
options
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Nuxeo Filesystem Connectors 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.