db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1098717 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/doSelectJoin.vm
Date Mon, 02 May 2011 18:24:06 GMT
Author: tfischer
Date: Mon May  2 18:24:06 2011
New Revision: 1098717

URL: http://svn.apache.org/viewvc?rev=1098717&view=rev
Log:
make doSelectJoin methods public

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/doSelectJoin.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/doSelectJoin.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/doSelectJoin.vm?rev=1098717&r1=1098716&r2=1098717&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/doSelectJoin.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/doSelectJoin.vm
Mon May  2 18:24:06 2011
@@ -43,17 +43,13 @@
 #set ( $localFieldElement = $foreignKeyElement.getChild("local-field"))
 #set ( $getterForJoinedDbObject = $localFieldElement.getAttribute("getter"))
     /**
-     * selects a collection of dbObjectClassName objects pre-filled with their
+     * Selects a collection of dbObjectClassName objects pre-filled with their
      * $joinedDbObjectClassName objects.
      *
-     * This method is protected by default in order to keep the public
-     * api reasonable.  You can provide public methods for those you
-     * actually need in ${peerClassName}.
-     *
      * @throws TorqueException Any exceptions caught during processing will be
      *         rethrown wrapped into a TorqueException.
      */
-    protected static List<${dbObjectClassName}> ${peerJoinSelectMethod}(Criteria criteria)
+    public static List<${dbObjectClassName}> ${peerJoinSelectMethod}(Criteria criteria)
         throws TorqueException
     {
         Connection connection = null;
@@ -78,17 +74,14 @@
     }
 
     /**
-     * selects a collection of $dbObjectClassName objects pre-filled with their
+     * Selects a collection of $dbObjectClassName objects pre-filled with their
      * $joinedDbObjectClassName objects.
      *
-     * This method is protected by default in order to keep the public
-     * api reasonable.  You can provide public methods for those you
-     * actually need in $peerClassName.
-     *
      * @throws TorqueException Any exceptions caught during processing will be
      *         rethrown wrapped into a TorqueException.
      */
-    protected static List<$dbObjectClassName> ${peerJoinSelectMethod}(Criteria criteria,
Connection conn)
+    public static List<$dbObjectClassName> ${peerJoinSelectMethod}(
+            Criteria criteria, Connection conn)
         throws TorqueException
     {
         setDbName(criteria);



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message