public interface TransactionDAO
| Modifier and Type | Method and Description |
|---|---|
boolean |
transactionActive(GrouperTransaction grouperTransaction)
call this to see if a transaction is active (exists and not committed or rolledback)
|
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
|
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 payloadGrouperDAOException - 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 payloadboolean transactionRollback(GrouperTransaction grouperTransaction, GrouperRollbackType grouperRollbackType)
grouperRollbackType - type of commit (now or only under certain circumstances?)grouperTransaction - is the state of the transaction, can hold payloadboolean transactionActive(GrouperTransaction grouperTransaction)
grouperTransaction - is the state of the transaction, can hold payloadCopyright © 2016 Internet2. All rights reserved.