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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to