jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Regarding Document Versioning
Date Thu, 31 Dec 2009 15:31:41 GMT
On Tue, Dec 29, 2009 at 07:39, abhishek reddy <abhishek.c1984@gmail.com> wrote:
> how to implement "Document versioning" concept or does java has any api for
> the same . I have to maintain various documents and version them. If a
> document is modified, it has to be saved as a new version, keeping the
> original document as is. I have to version only some "x" documents. Is this
> possible with Jackrabbit? If possible please guide me how to start?

See the JCR 1.0 spec, section 8.2, or JCR 2.0, section 15:

http://www.day.com/specs/jcr/1.0/8.2_Versioning.html
http://www.day.com/specs/jcr/2.0/15_Versioning.html

Here is some basic sample code:
http://wiki.apache.org/jackrabbit/ExamplesPage#Versioning_Basics

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message