jon 2002/06/20 15:07:09
Modified: src/templates/om BaseManager.vm
Log:
backed out the code i just added. (except for the javadoc changes)
can't do new ObjectKey()
-jon
Revision Changes Path
1.9 +1 -25 jakarta-turbine-torque/src/templates/om/BaseManager.vm
Index: BaseManager.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/BaseManager.vm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- BaseManager.vm 20 Jun 2002 22:04:43 -0000 1.8
+++ BaseManager.vm 20 Jun 2002 22:07:09 -0000 1.9
@@ -81,19 +81,6 @@
}
/**
- * Static accessor for the @see #getInstanceImpl(String).
- *
- * @param id an <code>String</code> value of the key
- * @return a <code>${interfaceName}</code> value
- * @exception TorqueException if an error occurs
- */
- public static ${interfaceName} getInstance(String id)
- throws TorqueException
- {
- return getManager().getInstanceImpl(id);
- }
-
- /**
* Static accessor for the @see #getInstanceImpl(ObjectKey, boolean).
*
* @param id an <code>ObjectKey</code> value
@@ -199,17 +186,6 @@
throws TorqueException
{
return (${interfaceName}) getOMInstance(id);
- }
-
- /**
- * Get a ${interfaceName} with the given id.
- *
- * @param id <code>String</code> value
- */
- protected ${interfaceName} getInstanceImpl(String id)
- throws TorqueException
- {
- return getInstanceImpl(new ObjectKey(id));
}
/**
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>