svn commit: r1470385 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1470385 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

adrianc
Author: adrianc
Date: Mon Apr 22 04:52:52 2013
New Revision: 1470385

URL: http://svn.apache.org/r1470385
Log:
Moved the OperationType enum to the Delegator interface so it can be reused.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java?rev=1470385&r1=1470384&r2=1470385&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java Mon Apr 22 04:52:52 2013
@@ -48,6 +48,8 @@ import org.xml.sax.SAXException;
 
 public interface Delegator {
 
+    enum OperationType {INSERT, UPDATE, DELETE}
+
     public void clearAllCacheLinesByDummyPK(Collection<GenericPK> dummyPKs);
 
     public void clearAllCacheLinesByValue(Collection<GenericValue> values);