W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > January to March 2002

WG: how to perform undeletion

From: Sohn, Matthias <matthias.sohn@sap.com>
Date: Fri, 15 Mar 2002 16:43:59 +0100
Message-ID: <FAFE609CB754D311B60C0008C75D35560999D582@dbwdfx14.wdf.sap-ag.de>
To: "Ietf-Dav-Versioning@W3. Org" <ietf-dav-versioning@w3.org>

I think when the resource version to be revived in order to undelete the 
resource has been found the undelete operation can be done in the following
way :

- check out the collection which shall contain the resource to be undeleted,

  this yields a working collection which is bound to an activity (since I
want to 
  track all changes in activities)
- issue VERSION-CONTROL on the resource version contained in the old
  version before the deletion of the resource took place like specified in 
  the DeltaV spec : 

	>>> citation from DeltaV spec <<<

	6.7.1	Example - VERSION-CONTROL (using an existing version

	  VERSION-CONTROL /ws/public/bar.html HTTP/1.1 
	  Host: www.webdav.org
	  Content-Type: text/xml; charset="utf-8"
	  Content-Length: xxxx
	  <?xml version="1.0" encoding="utf-8" ?>
	  <D:version-control xmlns:D="DAV:">

	  HTTP/1.1 201 Created
	  Cache-Control: no-cache

	>>> end citation from DeltaV spec <<<

  In this request specify the URL under which the VCR for the resource to be

  undeleted shall reappear.

- check in the activity containing the working collection which now has a 
  binding pointing to the newly created VCR for the undeleted resource.
- if since the resource has been deleted another resource has been created 
  with the same URL the VERSION-CONTROL request given above will fail. 
  In this case the client has to reissue VERSION-CONTROL specifying 
  another request URL which uniquely identifies the URL of the resource 
  to be undeleted.

Is this approach compliant to the DeltaV spec ?

Still it is an open question (for me) how to find deleted resources in a
collection in an efficient way using DeltaV protocol.


-----Ursprüngliche Nachricht-----
Von: Sohn, Matthias 
Gesendet: Freitag, 15. März 2002 14:29
An: Ietf-Dav-Versioning@W3. Org
Betreff: how to perform undeletion


how can undelete of a versioned resource (residing in a versioned
which has been deleted somewhen in the past be done using DeltaV ?

There are two things which have to be solved here:
*	find the deleted resource(s) under a given path  
*	undelete resource(s)
I would like to do it with using an activity and working resources so that
the undeletion is tracked in the activity.

How can the browsing for deleted resources (or collections) be done in an
efficient way, i.e. how can the client
find out which resources have been deleted let's say recursively under
/a/b/c/... ?

Received on Friday, 15 March 2002 10:44:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:48 UTC