com.uwyn.rife.database
Class DbTransactionUserWithoutResult<DataType>
java.lang.Object
com.uwyn.rife.database.DbTransactionUser<Object,DataType>
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
|
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. |
DbTransactionUserWithoutResult
public DbTransactionUserWithoutResult()
DbTransactionUserWithoutResult
public DbTransactionUserWithoutResult(DataType data)
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.