Hi Peter & Cevat,

I am also working on versioning of documents through Slide. My problem
is, I am able to display the document details through Webdav server.
when i click on any document link, it is opeining the document. I am
able to store the document with updated content. Now the question is,
whenever I save the document through the browser, i want to increase the
version number and store the document with an appended version number in
the system and update the "versions" table etc. for this, I have to call
store() method of content object. Right? Webdav Servlet is calling
various classes like GetMethod, PropFindMethod depending on the user
actions. 

In which of the classes of Slide( I mean GetMethod, PutMethod,etc) I
need to write this?

Any idea on this??

regards
Srinivas

-----Original Message-----
From: Nevermann, Dr., Peter [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:48 PM
To: 'Slide Users List'
Subject: RE: version control


Cevat,

> can anybody explain how to version control in slide?
> thanks

By which means (or interface) do you want to do versioning?

(a) If it is through the Slide API, version control is primarily given
through the "content helper" interface
(org.apache.slide.content.Content).
Other classes/interfaces which are crucial for versioning are:
- org.apache.slide.content.NodeRevisionDescriptors
- org.apache.slide.content.NodeRevisionNumber

(b) If you mean through WebDAV, support for DeltaV (see
http://webdav.org/deltav) is currently under construction in Slide, and
will
be available with the next version of Slide.

Regards,
- Peter.
---------------------------------------
Dr. Peter Nevermann
Software AG, Research & Development
Uhlandstr. 12, 64292 Darmstadt, Germany
+49-6151-92-1828 (phone), 92-1609 (fax)
mailto:[EMAIL PROTECTED]
http://www.softwareag.com
 

> -----Original Message-----
> From: Cevat Ikibas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 22:28
> To: [EMAIL PROTECTED]
> Subject: version control
> 
> 
> 
> 
> can anybody explain how to version control in slide?
> thanks
> 
> cevat
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to