Package ca.uhn.fhir.jpa.dao.tx
Class HapiTransactionService.ExecutionBuilder
java.lang.Object
ca.uhn.fhir.jpa.dao.tx.HapiTransactionService.ExecutionBuilder
- All Implemented Interfaces:
IHapiTransactionService.IExecutionBuilder
,Cloneable
,org.springframework.transaction.support.TransactionOperations
- Enclosing class:
HapiTransactionService
protected class HapiTransactionService.ExecutionBuilder
extends Object
implements IHapiTransactionService.IExecutionBuilder, org.springframework.transaction.support.TransactionOperations, Cloneable
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExecutionBuilder
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
Method Summary
Modifier and TypeMethodDescriptionvoid
<T> T
<T> T
execute
(org.springframework.transaction.support.TransactionCallback<T> callback) protected RequestPartitionId
org.springframework.transaction.annotation.Propagation
ca.uhn.fhir.rest.api.server.RequestDetails
onRollback
(Runnable theOnRollback) readOnly()
withIsolation
(org.springframework.transaction.annotation.Isolation theIsolation) withPropagation
(org.springframework.transaction.annotation.Propagation thePropagation) withRequestPartitionId
(RequestPartitionId theRequestPartitionId) withTransactionDetails
(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.jpa.dao.tx.IHapiTransactionService.IExecutionBuilder
read, search, searchList
Methods inherited from interface org.springframework.transaction.support.TransactionOperations
executeWithoutResult
-
Field Details
-
myRequestPartitionId
-
-
Constructor Details
-
ExecutionBuilder
-
-
Method Details
-
withIsolation
public HapiTransactionService.ExecutionBuilder withIsolation(org.springframework.transaction.annotation.Isolation theIsolation) - Specified by:
withIsolation
in interfaceIHapiTransactionService.IExecutionBuilder
-
withTransactionDetails
public HapiTransactionService.ExecutionBuilder withTransactionDetails(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails) - Specified by:
withTransactionDetails
in interfaceIHapiTransactionService.IExecutionBuilder
-
withPropagation
public HapiTransactionService.ExecutionBuilder withPropagation(org.springframework.transaction.annotation.Propagation thePropagation) - Specified by:
withPropagation
in interfaceIHapiTransactionService.IExecutionBuilder
-
withRequestPartitionId
public HapiTransactionService.ExecutionBuilder withRequestPartitionId(RequestPartitionId theRequestPartitionId) - Specified by:
withRequestPartitionId
in interfaceIHapiTransactionService.IExecutionBuilder
-
readOnly
- Specified by:
readOnly
in interfaceIHapiTransactionService.IExecutionBuilder
-
onRollback
- Specified by:
onRollback
in interfaceIHapiTransactionService.IExecutionBuilder
-
execute
- Specified by:
execute
in interfaceIHapiTransactionService.IExecutionBuilder
-
execute
- Specified by:
execute
in interfaceIHapiTransactionService.IExecutionBuilder
-
execute
public <T> T execute(@Nonnull org.springframework.transaction.support.TransactionCallback<T> callback) - Specified by:
execute
in interfaceIHapiTransactionService.IExecutionBuilder
- Specified by:
execute
in interfaceorg.springframework.transaction.support.TransactionOperations
-
getRequestPartitionIdForTesting
-
getRequestDetailsForTesting
-
getPropagation
-
getEffectiveRequestPartitionId
-