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
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
ConstructorDescriptionFolderResource
(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) get()
javax.ws.rs.core.Response
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 Details
-
FolderResource
public FolderResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
-
Method Details
-
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)
-