Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 22810 invoked from network); 11 Jan 2006 01:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jan 2006 01:02:26 -0000 Received: (qmail 48180 invoked by uid 500); 11 Jan 2006 01:02:25 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 48158 invoked by uid 99); 11 Jan 2006 01:02:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 17:02:25 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Jan 2006 17:02:24 -0800 Received: (qmail 22682 invoked by uid 65534); 11 Jan 2006 01:02:04 -0000 Message-ID: <20060111010204.22679.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r367855 - /db/jdo/trunk/api20/src/java/javax/jdo/PersistenceManager.java Date: Wed, 11 Jan 2006 01:02:03 -0000 To: jdo-commits@db.apache.org From: clr@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: clr Date: Tue Jan 10 17:02:01 2006 New Revision: 367855 URL: http://svn.apache.org/viewcvs?rev=367855&view=rev Log: JDO-257 final update to remove attachCopy from PersistenceManager Modified: db/jdo/trunk/api20/src/java/javax/jdo/PersistenceManager.java Modified: db/jdo/trunk/api20/src/java/javax/jdo/PersistenceManager.java URL: http://svn.apache.org/viewcvs/db/jdo/trunk/api20/src/java/javax/jdo/PersistenceManager.java?rev=367855&r1=367854&r2=367855&view=diff ============================================================================== --- db/jdo/trunk/api20/src/java/javax/jdo/PersistenceManager.java (original) +++ db/jdo/trunk/api20/src/java/javax/jdo/PersistenceManager.java Tue Jan 10 17:02:01 2006 @@ -809,7 +809,7 @@ * Detach the specified objects from the * PersistenceManager. The objects returned can be * manipulated and re-attached with - * {@link #attachCopyAll(Object[], boolean)}. + * {@link #makePersistentAll(Object[])}. * The detached instances will be * unmanaged copies of the specified parameters, and are suitable * for serialization and manipulation outside of a JDO @@ -820,58 +820,13 @@ * current custom {@link FetchPlan}. * @param pcs the instances to detach * @return the detached instances - * @throws JDOUserException if any of the instances do not - * @see #attachCopyAll(Object[], boolean) + * @throws JDOUserException if any of the instances to be detached do not + * implement the javax.jdo.spi.Detachable interface. + * @see #makePersistentAll(Object[]) * @see #getFetchPlan * @since 2.0 */ Object[] detachCopyAll (Object [] pcs); - - /** - * Import the specified object into the - * PersistenceManager. - * @param pc instance to import - * @param makeTransactional if true, this method will - * mark transactional the persistent instances corresponding - * to all instances in the closure of the detached graph. - * @return the re-attached instance - * @see #attachCopyAll(Object[],boolean) - * @since 2.0 - * This method has been removed. See makePersistent. - */ -// Object attachCopy (Object pc, boolean makeTransactional); - - /** - * Import the specified objects into the - * PersistenceManager. - * @param pcs Collection of instances to import - * @param makeTransactional if true, this method will - * mark transactional the persistent instances corresponding - * to all instances in the closure of the detached graph. - * @return the re-attached instances - * @see #attachCopyAll(Object[],boolean) - * @since 2.0 - * This method has been removed. See makePersistentAll. - */ - // Collection attachCopyAll (Collection pcs, boolean makeTransactional); - - /** - * Import the specified objects into the - * PersistenceManager. Instances that were - * previously detached from this or another - * PersistenceManager will have their changed merged - * into the persistent instances. Instances that are new will be - * persisted as new instances. - * @param pcs array of instances to import - * @param makeTransactional if true, this method will - * mark transactional the persistent instances corresponding - * to all instances in the closure of the detached graph. - * @return the re-attached instances - * @see #detachCopyAll(Object[]) - * @since 2.0 - * This method has been removed. See makePersistentAll. - */ - // Object[] attachCopyAll (Object[] pcs, boolean makeTransactional); /** * Put the specified key-value pair into the map of user objects.