Uses of Class
com.avaje.ebean.TxScope

Packages that use TxScope
com.avaje.ebean Core API (see Ebean and EbeanServer). 
 

Uses of TxScope in com.avaje.ebean
 

Methods in com.avaje.ebean that return TxScope
static TxScope TxScope.mandatory()
          Helper method to create a TxScope with MANDATORY.
static TxScope TxScope.never()
          Helper method to create a TxScope with NEVER.
static TxScope TxScope.notSupported()
          Helper method to create a TxScope with NOT_SUPPORTED.
static TxScope TxScope.required()
          Helper method to create a TxScope with REQUIRES.
static TxScope TxScope.requiresNew()
          Helper method to create a TxScope with REQUIRES_NEW.
 TxScope TxScope.setIsolation(TxIsolation isolation)
          Set the transaction isolation level this transaction should run with.
 TxScope TxScope.setNoRollbackFor(Class<?>[] noRollbacks)
          Set multiple throwable's that will NOT cause a rollback.
 TxScope TxScope.setNoRollbackFor(Class<? extends Throwable> noRollback)
          Add a Throwable to a list that will NOT cause a rollback.
 TxScope TxScope.setReadOnly(boolean readOnly)
          Set if the transaction should be treated as read only.
 TxScope TxScope.setRollbackFor(Class<?>[] rollbackThrowables)
          Set multiple throwable's that will cause a rollback.
 TxScope TxScope.setRollbackFor(Class<? extends Throwable> rollbackThrowable)
          Set a Throwable that should explicitly cause a rollback.
 TxScope TxScope.setServerName(String serverName)
          Set the serverName (DataSource name) for which this transaction will be.
 TxScope TxScope.setType(TxType type)
          Set the transaction type.
static TxScope TxScope.supports()
          Helper method to create a TxScope with SUPPORTS.
 

Methods in com.avaje.ebean with parameters of type TxScope
<T> T
EbeanServer.execute(TxScope scope, TxCallable<T> c)
          Execute a TxCallable in a Transaction with an explicit scope.
static
<T> T
Ebean.execute(TxScope scope, TxCallable<T> c)
          Execute a TxCallable in a Transaction with an explicit scope.
 void EbeanServer.execute(TxScope scope, TxRunnable r)
          Execute a TxRunnable in a Transaction with an explicit scope.
static void Ebean.execute(TxScope scope, TxRunnable r)
          Execute a TxRunnable in a Transaction with an explicit scope.
 



Copyright © 2010. All Rights Reserved.