Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A495F9859 for ; Mon, 7 May 2012 12:18:33 +0000 (UTC) Received: (qmail 21623 invoked by uid 500); 7 May 2012 12:18:33 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 21586 invoked by uid 500); 7 May 2012 12:18:33 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 21578 invoked by uid 99); 7 May 2012 12:18:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 12:18:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.42] (HELO mail-qa0-f42.google.com) (209.85.216.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 12:18:27 +0000 Received: by qafi31 with SMTP id i31so3422241qaf.1 for ; Mon, 07 May 2012 05:18:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=vsiDu4ExOliNpk7iFhy4XHSIRFXmQ8QIYoaWyPE9CT4=; b=EQ+28ieDDziwOBZVLFSecQJ2QabwtzceoiaRHdVgTLeCmYM8V6xtMY2W7A1G5NhDY5 jCIgSbNSbAjnt4tZpQfBoBilQLqqxhENjTrL/JLmYWUb2/DD6llOFzTc0duVvWjEiOoY rpvpantsiqob5AKU3XPoCm+om91g7oEzdiscmXeJHUXw0Tdnz8Mbv+ai2/MRxSE5VLym EEJwQwO7rzkhILZiqVUA4fw7NfyZT7Ii89WejSnhehSs1YpA6k+WXymSW3AyAKrySc64 p833yjMrU8dxLsQWFwHrYEurKP1HAba6aGgX0LTr5mB/QiOf4y5M34lR0ZzDZrmYjeFt Zz2g== MIME-Version: 1.0 Received: by 10.224.117.129 with SMTP id r1mr6664829qaq.31.1336393085239; Mon, 07 May 2012 05:18:05 -0700 (PDT) Received: by 10.229.117.234 with HTTP; Mon, 7 May 2012 05:18:05 -0700 (PDT) Date: Mon, 7 May 2012 07:18:05 -0500 Message-ID: Subject: Save to repository instead of checkin From: Joseph Wright To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=20cf306f71f62040e904bf7143bc X-Gm-Message-State: ALoCoQnyyI6dnNF/R320CjYmZw1X5pIBQB41PvfGf6/79PM50RpOfRSm8No99iVq7NYdxjz9aFBp X-Virus-Checked: Checked by ClamAV on apache.org --20cf306f71f62040e904bf7143bc Content-Type: text/plain; charset=ISO-8859-1 Hi Folks, Trying to confirm if jackrabbit/jcr supports a "save to repository" versus just a checkin or checkpoint? Here is a scenario. We have file that is checked out by John. The file is version 1.0. The file is locked and the user is making changes in an online web portal. The user needs the ability to save the file to the repository, but not just checkin or checkpoint. The reason is if John has the file checked-out for 3 days and another user tries to access the file they should get version 1.0 and not any of the saved versions. almost something like this: 1.0 ( checked out by John ) 1.1 ( saved to repository ) 1.2 ( saved to repository ) 1.3 ( saved to repository ) 1.4 ( saved to repository ) 1.5 ( saved to repository ) 1.6 ( saved to repository ) 2.0 ( checked in by John) So if anyone request a read-only copy of this file before John checked it back in they would get version 1.0. More importantly if John decided to undo-checkout the system rolls back to 1.0. Only when John checks in the file does a user get 2.0. In reality once John checked-in and created 2.0 then 1.1 through 1.6 could be removed. Looking through the spec http://www.day.com/maven/jsr170/javadocs/jcr-2.0/index.html it seems like some combination of activity, label or predecessors could be used to achieve this. Just wondering if jackrabbit handles something like this natively before we tried to build anything. We are using Jackrabbit 2.4.1 on OS X with JBOSS 7. Jo --20cf306f71f62040e904bf7143bc--