Class ParameterTransactionDataImpl
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.impl.ParameterTransactionDataImpl
-
- All Implemented Interfaces:
TransactionData
public class ParameterTransactionDataImpl extends Object implements TransactionData
Holds all the parameter data for a given datasource. This data will be persisted at the end of the current transaction
-
-
Constructor Summary
Constructors Constructor Description ParameterTransactionDataImpl(String datasourceId, FHIRPersistenceJDBCImpl impl, UserTransaction userTransaction)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(ResourceTokenValueRec rec)
Add this record to the list of records being accumulated in this transactionvoid
persist()
Persist the data.
-
-
-
Constructor Detail
-
ParameterTransactionDataImpl
public ParameterTransactionDataImpl(String datasourceId, FHIRPersistenceJDBCImpl impl, UserTransaction userTransaction)
Public constructor- Parameters:
datasourceId
-impl
-
-
-
Method Detail
-
persist
public void persist()
Description copied from interface:TransactionData
Persist the data. Don't propagate any exceptions. If an exception occurs, log the error and mark the transaction for rollback.- Specified by:
persist
in interfaceTransactionData
-
addValue
public void addValue(ResourceTokenValueRec rec)
Add this record to the list of records being accumulated in this transaction- Parameters:
rec
-
-
-