|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionDAO
methods for dealing with transactions
Method Summary | |
---|---|
boolean |
transactionActive(GrouperTransaction grouperTransaction)
call this to see if a transaction is active (exists and not committed or rolledback) |
java.lang.Object |
transactionCallback(GrouperTransactionType grouperTransactionType,
GrouperTransactionHandler grouperTransactionHandler,
GrouperTransaction grouperTransaction)
call this to send a callback for the grouper methods. |
boolean |
transactionCommit(GrouperTransaction grouperTransaction,
GrouperCommitType grouperCommitType)
call this to commit a transaction |
boolean |
transactionRollback(GrouperTransaction grouperTransaction,
GrouperRollbackType grouperRollbackType)
call this to rollback a transaction |
Method Detail |
---|
java.lang.Object transactionCallback(GrouperTransactionType grouperTransactionType, GrouperTransactionHandler grouperTransactionHandler, GrouperTransaction grouperTransaction) throws GrouperDAOException
grouperTransactionType
- is enum of how the transaction should work.grouperTransactionHandler
- will get the callbackgrouperTransaction
- is the state of the transaction, can hold payload
GrouperDAOException
- if something wrong inside, its
whatever your methods throwboolean transactionCommit(GrouperTransaction grouperTransaction, GrouperCommitType grouperCommitType)
grouperCommitType
- type of commit (now or only under certain circumstances?)grouperTransaction
- is the state of the transaction, can hold payload
boolean transactionRollback(GrouperTransaction grouperTransaction, GrouperRollbackType grouperRollbackType)
grouperRollbackType
- type of commit (now or only under certain circumstances?)grouperTransaction
- is the state of the transaction, can hold payload
boolean transactionActive(GrouperTransaction grouperTransaction)
grouperTransaction
- is the state of the transaction, can hold payload
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |