From graffito-dev-return-1615-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Fri Feb 16 12:01:30 2007 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 46234 invoked from network); 16 Feb 2007 12:01:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2007 12:01:29 -0000 Received: (qmail 88434 invoked by uid 500); 16 Feb 2007 12:01:37 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 88413 invoked by uid 99); 16 Feb 2007 12:01:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2007 04:01:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2007 04:01:28 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FBF27141A2 for ; Fri, 16 Feb 2007 04:01:07 -0800 (PST) Message-ID: <27215890.1171627267324.JavaMail.jira@brutus> Date: Fri, 16 Feb 2007 04:01:07 -0800 (PST) From: "Christophe Lombart (JIRA)" To: graffito-dev@incubator.apache.org Subject: [jira] Created: (GRFT-125) Add UUID support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Add UUID support ---------------- Key: GRFT-125 URL: https://issues.apache.org/jira/browse/GRFT-125 Project: Graffito Issue Type: Sub-task Reporter: Christophe Lombart Fix For: 1.0-a1-dev Until now, only the path was used to retrieve content and makes references. Of course, in some situation UUID becomes more important. Furthermore supporting uuid is mandatory if we want to support "reference" jcr type. Here is a proposal to support UUID : 1/ Modify the PersistenceManager API : * add method getObject(String uuid) * Is it necessary to overload methods used to manage versions and locks ? 2/ Review the mapping descriptor in order to map a pojo attribute into the node UUID (readonly) : From now, it is possible to specify the path attribute and/or the uuid attribute in the java classes. Both fields are optional. So, we have to review the classes PersistenceManagerImpl and ObjectConverterImpl which depend strongly on the path attribute. 3/ Specify in a class-descriptor the jcr type "mix:referenceable ". This can be done with one of the following way : a. In the class descriptor definition : b. or in the primary node type definition associated to the java class -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.