Class ExistingResource

    • Constructor Detail

      • ExistingResource

        protected ExistingResource​(String path,
                                   DocumentModel doc,
                                   javax.servlet.http.HttpServletRequest request,
                                   Backend backend)
    • Method Detail

      • delete

        public javax.ws.rs.core.Response delete()
      • copy

        public javax.ws.rs.core.Response copy​(@HeaderParam("Destination")
                                              String dest,
                                              @HeaderParam("Overwrite")
                                              String overwrite)
      • move

        public javax.ws.rs.core.Response move​(@HeaderParam("Destination")
                                              String dest,
                                              @HeaderParam("Overwrite")
                                              String overwrite)
      • proppatch

        public javax.ws.rs.core.Response proppatch​(@Context
                                                   javax.ws.rs.core.UriInfo uriInfo)
      • mkcol

        public javax.ws.rs.core.Response mkcol()
        We can't MKCOL over an existing resource.
      • head

        public javax.ws.rs.core.Response head()
      • lock

        public javax.ws.rs.core.Response lock​(@Context
                                              javax.ws.rs.core.UriInfo uriInfo)
      • unlock

        public javax.ws.rs.core.Response unlock()
      • getLockDiscovery

        protected net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery getLockDiscovery​(DocumentModel doc,
                                                                                          javax.ws.rs.core.UriInfo uriInfo)
      • isMoveTargetCandidate

        protected boolean isMoveTargetCandidate​(String path)
      • saveMoveOriginalName

        protected void saveMoveOriginalName()
      • getMoveOriginalName

        protected String getMoveOriginalName()
      • clearMoveOriginalName

        protected void clearMoveOriginalName()
      • isRecentlyCreated

        protected boolean isRecentlyCreated​(DocumentModel doc)