db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r598012 - /db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java
Date Sun, 25 Nov 2007 17:12:28 GMT
Author: andyj
Date: Sun Nov 25 09:12:28 2007
New Revision: 598012

URL: http://svn.apache.org/viewvc?rev=598012&view=rev
Log:
JDO-548 - addition of getManagedObjects() methods

Modified:
    db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java

Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java?rev=598012&r1=598011&r2=598012&view=diff
==============================================================================
--- db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java (original)
+++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java Sun Nov 25 09:12:28
2007
@@ -1185,4 +1185,20 @@
      * @since 2.1
      */
     Date getServerDate();
+
+    /**
+     * Get the objects enlisted in the current transaction.
+     * @return The objects
+     * @since 2.1
+     */
+    Collection getManagedObjects();
+
+    /**
+     * Get the objects enlisted in the current transaction being instances of
+     * the specified classes.
+     * @param classes The classes of objects that we are interested in
+     * @return The objects
+     * @since 2.1
+     */
+    Collection getManagedObjects(Class[] classes);
 }



Mime
View raw message