com.uwyn.rife.database
Class DbTransactionUserWithoutResult<DataType>

java.lang.Object
  extended by com.uwyn.rife.database.DbTransactionUser<Object,DataType>
      extended by com.uwyn.rife.database.DbTransactionUserWithoutResult<DataType>
All Implemented Interfaces:
Cloneable

public abstract class DbTransactionUserWithoutResult<DataType>
extends DbTransactionUser<Object,DataType>

Convenience class that offers the same facilities as the DbTransactionUser class, but makes it easier to work with transactions that don't return any results.

Since:
1.0
Version:
$Revision: 3634 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
DbTransactionUser

Field Summary
 
Fields inherited from class com.uwyn.rife.database.DbTransactionUser
mData
 
Constructor Summary
DbTransactionUserWithoutResult()
           
DbTransactionUserWithoutResult(DataType data)
           
 
Method Summary
 Object useTransaction()
          Has been implemented to return a null reference and delegate the logic to the useTransactionWithoutResult() method.
abstract  void useTransactionWithoutResult()
          Should be implemented by all extending classes.
 
Methods inherited from class com.uwyn.rife.database.DbTransactionUser
clone, getData, getTransactionIsolation, rollback, throwException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbTransactionUserWithoutResult

public DbTransactionUserWithoutResult()

DbTransactionUserWithoutResult

public DbTransactionUserWithoutResult(DataType data)
Method Detail

useTransaction

public Object useTransaction()
                      throws InnerClassException
Has been implemented to return a null reference and delegate the logic to the useTransactionWithoutResult() method.

Specified by:
useTransaction in class DbTransactionUser<Object,DataType>
Throws:
InnerClassException
Since:
1.0

useTransactionWithoutResult

public abstract void useTransactionWithoutResult()
                                          throws InnerClassException
Should be implemented by all extending classes.

Throws:
InnerClassException
Since:
1.0


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.