TheProjecter / sardine

Automatically exported from code.google.com/p/sardine
0 stars 0 forks source link

Versioning support (DeltaV) #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Extension request only. Since WebDav has already such extension.
See http://www.webdav.org/deltav/protocol/draft-ietf-webdav-versioning-xx.7.htm 
for details.

Next code-samle could be extrlemely usefull for some cases:
{{{
Sardine sardine = SardineFactory.begin();
sardine.checkOut("http://yourdavserver.com/adirectory/");

List<DavResource> resources = 
sardine.getResources("http://yourdavserver.com/adirectory/");
for (DavResource res : resources)
{
     res.setAttribute(/** whatever **/);
}
resources .addResource("theStringData" ,"TheDataItself");
sardine.checkIn("http://yourdavserver.com/adirectory/");
}}}

For sure this example should be more carefully defined. Here is just a main 
direction....

Original issue reported on code.google.com by vasiliij...@googlemail.com on 9 Jun 2011 at 10:04

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dkocher@sudo.ch on 10 Jun 2011 at 11:46