public class GrouperTransaction extends Object
Constructor and Description |
---|
GrouperTransaction() |
Modifier and Type | Method and Description |
---|---|
Object |
_internal_getPayload()
the dao can store some state here
|
void |
_internal_setPayload(Object payload)
the dao can store some state here
|
static Object |
callbackGrouperTransaction(GrouperTransactionHandler grouperTransactionHandler)
call this to establish a transaction demarcation for the GrouperTransactionHandler business logic.
|
static Object |
callbackGrouperTransaction(GrouperTransactionType grouperTransactionType,
GrouperTransactionHandler grouperTransactionHandler)
call this to establish a transaction demarcation for the GrouperTransactionHandler business logic
|
boolean |
commit(GrouperCommitType grouperCommitType)
commit a transaction (perhaps, based on type)
|
boolean |
isCachingEnabled()
provide ability to turn off all caching for this session
|
boolean |
isTransactionActive()
see if a transaction has an open transaction (that hasnt been committed or rolled back yet)
|
boolean |
rollback(GrouperRollbackType grouperRollbackType)
rollback a transaction (perhaps, based on type)
|
void |
setCachingEnabled(boolean enabledCaching1)
provide ability to turn off all caching for this session
|
public boolean isCachingEnabled()
public void setCachingEnabled(boolean enabledCaching1)
enabledCaching1
- the enabledCaching to setpublic Object _internal_getPayload()
public void _internal_setPayload(Object payload)
payload
- the payload to setpublic static Object callbackGrouperTransaction(GrouperTransactionType grouperTransactionType, GrouperTransactionHandler grouperTransactionHandler)
grouperTransactionType
- is enum of how the transaction should work.grouperTransactionHandler
- will get the callbackRuntimeException
- if something wrong inside, not sure which exceptions... its
whatever your methods throwpublic static Object callbackGrouperTransaction(GrouperTransactionHandler grouperTransactionHandler)
grouperTransactionHandler
- will get the callbackRuntimeException
- if something wrong inside, not sure which exceptions... its
whatever your methods throwpublic boolean commit(GrouperCommitType grouperCommitType)
grouperCommitType
- public boolean rollback(GrouperRollbackType grouperRollbackType)
grouperRollbackType
- public boolean isTransactionActive()
Copyright © 2016 Internet2. All rights reserved.