public interface TransactionParams
| Modifier and Type | Method and Description |
|---|---|
void |
closeDataSourceForBatch()
Should implement logic for termination
of connection between the framework
and the remote datasource by
toggling the isBatchFlow switch
|
void |
commitDataSourceForBatch()
Should implement logic for commiting
completed work to the remote datasource
|
boolean |
isBatchFlow()
This is used check the isBatchFlow switch
|
boolean |
isBatchRequest()
This is used check the batch request switch
|
void |
rollBackDataSourceForBatch()
Should implement logic for rollback
of work executed on the datasource
|
void |
setAutoCommitForDataSourceForBatch(boolean autoCommit)
Should implement logic to toggle
autocommit feature of remote datasource
if applicable
|
void |
setIsBatchFlow(boolean isBatchFlow)
This is used to set the isBatchFlow switch
|
void |
setIsBatchRequest(boolean isBatchRequest)
This is used to set the batch request switch
|
void closeDataSourceForBatch()
Should be used only in context of controlling transaction in case of a Batch process
void setAutoCommitForDataSourceForBatch(boolean autoCommit)
Should be used only in context of controlling transaction in case of a Batch process
autoCommit - void commitDataSourceForBatch()
Should be used only in context of controlling transaction in case of a Batch process
void rollBackDataSourceForBatch()
Should be used only in context of controlling transaction in case of a Batch process
void setIsBatchFlow(boolean isBatchFlow)
isBatchFlow - boolean isBatchFlow()
boolean isBatchRequest()
void setIsBatchRequest(boolean isBatchRequest)
Copyright © 2020 SAP. All Rights Reserved.