org.ofbiz.webslinger
Class EntityTransactionUtil

java.lang.Object
  extended by org.ofbiz.webslinger.EntityTransactionUtil

public class EntityTransactionUtil
extends java.lang.Object


Constructor Summary
EntityTransactionUtil()
           
 
Method Summary
static
<V> V
doNewTransaction(java.lang.String ifErrorMessage, java.util.concurrent.Callable<V> callable)
           
static
<V> V
doTransaction(java.lang.String ifErrorMessage, java.util.concurrent.Callable<V> callable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityTransactionUtil

public EntityTransactionUtil()
Method Detail

doNewTransaction

public static <V> V doNewTransaction(java.lang.String ifErrorMessage,
                                     java.util.concurrent.Callable<V> callable)
                          throws java.lang.Throwable
Throws:
java.lang.Throwable

doTransaction

public static <V> V doTransaction(java.lang.String ifErrorMessage,
                                  java.util.concurrent.Callable<V> callable)
                       throws java.lang.Throwable
Throws:
java.lang.Throwable