Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D92F9A80 for ; Wed, 19 Oct 2011 21:14:08 +0000 (UTC) Received: (qmail 62748 invoked by uid 500); 19 Oct 2011 21:14:08 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 62635 invoked by uid 500); 19 Oct 2011 21:14:08 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Delivered-To: moderator for dev@jackrabbit.apache.org Received: (qmail 84742 invoked by uid 99); 19 Oct 2011 20:32:55 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of ati.rosselet@gmail.com) Date: Wed, 19 Oct 2011 13:32:29 -0700 (PDT) From: rosselet To: dev@jackrabbit.apache.org Message-ID: <1319056349428-3920033.post@n4.nabble.com> Subject: baseline/configuration sub-tree as frozen-node rep:version references? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >From looking at the code, and trying to figure out how the configuration node works, am I correct that at least currently the configuration node doesn't actually store a subtree consisting of references to the node versions at the time of the config being commited, but rather a LIST of these frozennode references? in VersionManagerConfigImpl.java commit does this: Set baseVersions = collectBaseVersions(state); InternalValue[] vs = new InternalValue[baseVersions.size()]; int i=0; for (NodeId id: baseVersions) { vs[i++] = InternalValue.create(id); } state.setPropertyValues(NameConstants.REP_VERSIONS, PropertyType.REFERENCE, vs); which appears to support what I have seen: multivalued "rep:versions" property with UUID references to the correct frozen nodes for that point in time. Is there currently any way to get this as a "sub-tree", or can I at least assume that the sub-tree was walked breadth-first? (are parents ensured to always appear in this multivalue list before children?) or.. am I missing something completely???? thanx Ati -- View this message in context: http://jackrabbit.510166.n4.nabble.com/baseline-configuration-sub-tree-as-frozen-node-rep-version-references-tp3920033p3920033.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.