Package org.nuxeo.ecm.webdav.resource
Class FolderResource
- java.lang.Object
-
- org.nuxeo.ecm.webdav.resource.AbstractResource
-
- org.nuxeo.ecm.webdav.resource.ExistingResource
-
- org.nuxeo.ecm.webdav.resource.FolderResource
-
public class FolderResource extends ExistingResource
A resource for folder-like objects in the repository.
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.webdav.resource.ExistingResource
backend, DC_CREATED, DC_SOURCE, doc, READONLY_TOKEN, RECENTLY_CREATED_DELTA
-
Fields inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
name, parentPath, path, request
-
-
Constructor Summary
Constructors Constructor Description FolderResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.java.dev.webdav.jaxrs.xml.elements.Response
createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop)
protected net.java.dev.webdav.jaxrs.xml.elements.Response
createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop, boolean append)
String
get()
javax.ws.rs.core.Response
propfind(javax.ws.rs.core.UriInfo uriInfo, String depth)
-
Methods inherited from class org.nuxeo.ecm.webdav.resource.ExistingResource
clearMoveOriginalName, copy, delete, getLockDiscovery, getMoveOriginalName, getPropStatBuilderExt, getTimePropertyWrapper, head, isMoveTargetCandidate, isRecentlyCreated, lock, mkcol, move, proppatch, saveMoveOriginalName, unlock
-
Methods inherited from class org.nuxeo.ecm.webdav.resource.AbstractResource
getNameFromPath, getParentPath, options
-
-
-
-
Constructor Detail
-
FolderResource
public FolderResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
-
Method Detail
-
get
public String get()
-
propfind
public javax.ws.rs.core.Response propfind(@Context javax.ws.rs.core.UriInfo uriInfo, @HeaderParam("depth") String depth) throws IOException, javax.xml.bind.JAXBException, ParserConfigurationException, SAXException
- Throws:
IOException
javax.xml.bind.JAXBException
ParserConfigurationException
SAXException
-
createResponse
protected net.java.dev.webdav.jaxrs.xml.elements.Response createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop)
-
createResponse
protected net.java.dev.webdav.jaxrs.xml.elements.Response createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop, boolean append)
-
-