Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 96742 invoked from network); 23 Apr 2006 09:04:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Apr 2006 09:04:30 -0000 Received: (qmail 94336 invoked by uid 500); 23 Apr 2006 09:04:30 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 94255 invoked by uid 500); 23 Apr 2006 09:04:29 -0000 Mailing-List: contact commits-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 commits@jackrabbit.apache.org Received: (qmail 94246 invoked by uid 500); 23 Apr 2006 09:04:29 -0000 Delivered-To: apmail-incubator-jackrabbit-commits@incubator.apache.org Received: (qmail 94243 invoked by uid 99); 23 Apr 2006 09:04:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2006 02:04:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2006 02:04:28 -0700 Received: from ajax.apache.org (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A9CC1D49FE for ; Sun, 23 Apr 2006 10:04:07 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: jackrabbit-commits@incubator.apache.org Date: Sun, 23 Apr 2006 09:04:07 -0000 Message-ID: <20060423090407.19741.24730@ajax.apache.org> Subject: [Jackrabbit Wiki] Update of "mix:versionable" by JukkaZitting X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification. The following page has been changed by JukkaZitting: http://wiki.apache.org/jackrabbit/mix%3aversionable New page: Mixin type for versionable nodes. == Definition == {{{ [mix:versionable] > mix:referenceable mixin - jcr:versionHistory (REFERENCE) mandatory protected < nt:versionHistory - jcr:predecessors (REFERENCE) mandatory protected multiple < nt:version - jcr:baseVersion (REFERENCE) mandatory protected IGNORE < nt:version - jcr:isCheckedOut (BOOLEAN) = true autocreated mandatory protected IGNORE - jcr:mergeFailed (REFERENCE) protected multiple ABORT }}} == Description == This is the key type of the JCR versioning system. All versionable nodes have the ["mix:versionable"] mixin type. All versionable nodes must also be referenceable, thus ["mix:versionable"] is a subtype of ["mix:versionable"]. There are no other constraints on the content or structure of the versionable nodes. A versionable node has a corresponding ["nt:versionHistory"] node within the {{{/jcr:system/jcr:versionStorage}}} tree. The {{{jcr:baseVersion}}} property references the ["nt:version"] node that represents the base version of this node within the version history. The {{{jcr:predecessors}}} property contains one or more (because of merges) references to ["nt:version"] nodes within the version history. When this node is checked in, these versions will be recorded as the predecessors of the checked in version. The {{{jcr:isCheckedOut}}} flag indicates whether the node is checked out, i.e. can be modified and then checked in as a new version. The {{{jcr:mergeFailed}}} property is populated with references to the base versions of conflicting nodes during a merge. An application needs to resolve the merge failure before checking in this node, as the presence of the {{{jcr:mergeFailed}}} property will abort a checkin. == Related node types == * ["mix:versionable"] is a subtype of ["mix:referenceable"] * The ["nt:VersionHistory"] type represents the full version history of a node. * The ["nt:version"] type represents a single version of a versionable node. == Comments and questions ==