Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 88475 invoked from network); 3 Mar 2006 14:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Mar 2006 14:41:55 -0000 Received: (qmail 16643 invoked by uid 500); 3 Mar 2006 14:42:40 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 16632 invoked by uid 99); 3 Mar 2006 14:42:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 06:42:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 06:42:40 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id CBF2E33A3C for ; Fri, 3 Mar 2006 15:42:16 +0100 (CET) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30467-04 for ; Fri, 3 Mar 2006 15:42:11 +0100 (CET) Received: from [10.0.0.4] (rahan.anyware [10.0.0.4]) by mail.anyware-tech.com (Postfix) with ESMTP id 0BF9F33A09 for ; Fri, 3 Mar 2006 15:42:10 +0100 (CET) Message-ID: <440855BE.1040105@anyware-tech.com> Date: Fri, 03 Mar 2006 15:42:06 +0100 From: =?ISO-8859-1?Q?C=E9dric_Damioli?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Fwd: Copy versioned nodes References: <200603021642.45112.theute@jboss.org> <8fa1023f0603030200y7842528atee5ad3037c59baa1@mail.gmail.com> <44081713.8060304@uniscope.jp> <200603031228.27223.theute@jboss.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, David Nuescheler a �crit : > ... > regardless, i find the topic of being able to copy a version history > is worth a discussion in the jsr-283 expert group and therefore take > all the input from this mailing list into the jsr-283 expert group. > > regards, > david > This thread about versioning stuff bring me back to another one : http://mail-archives.apache.org/mod_mbox/incubator-jackrabbit-dev/200506.mbox/%3c42A9B4D4.1050806@anyware-tech.com%3e which contained questions but finally no answers. I may be more lucky this year :-) : 1) How to remove a VersionHistory ? Tobias opened the JIRA issue JCR-134, and I proposed to introduce a VersionManager.removeVersionHistory(history) or VersionHistory.remove() which would fail if any Node in any worspace still references the given VersionHistory, and remove all Versions and the VersionHistory itself otherwise. 2) How to get the VersionHistory of any deleted Node (to simulate the "Attic" in the CVS world). Would it be possible to "flag" a VersionHistory when no Node in any workspace references it ? It would help to restore a Node, without initially knowing anything about it (UUID, path, type, ...) 2a) An extension to the above point is to be able to retrieve a Version based on a Date : something like VersionHistory.getVersionByDate(Calendar) 2b) As I also pointed out in that old thread, for primary-type based search, I can't understand why the jcr:frozenPrimaryType is only held by each jcr:frozenNode and not only once by the VersionHistory, as I think that the primary type of a given Node cannot change during its whole life. But I may miss something here. Back in June, 2005, when these points have been discussed on this list, jsr-283 did not exist, and I'm not even sure that jsr-170 was final. So the expert group may be now interested in such small thoughts about versioning stuff :-) WDYT about this ? Regards, -- C�dric Damioli ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com