Uses of Interface
com.ibm.fhir.persistence.context.FHIRPersistenceContext
-
-
Uses of FHIRPersistenceContext in com.ibm.fhir.bulkdata.jbatch.load
Methods in com.ibm.fhir.bulkdata.jbatch.load with parameters of type FHIRPersistenceContext Modifier and Type Method Description OperationOutcome
ChunkWriter. conditionalFingerprintUpdate(ImportTransientUserData chunkData, boolean skip, FHIRPersistence persistence, FHIRPersistenceContext context, java.lang.String logicalId, Resource resource, BulkDataContext ctx, long line)
conditional update checks to see if our cache contains the key, if not reads from the db, and calculates the cache. -
Uses of FHIRPersistenceContext in com.ibm.fhir.persistence
Methods in com.ibm.fhir.persistence with parameters of type FHIRPersistenceContext Modifier and Type Method Description <T extends Resource>
SingleResourceResult<T>FHIRPersistence. create(FHIRPersistenceContext context, T resource)
Stores a new FHIR Resource in the datastore.default <T extends Resource>
voidFHIRPersistence. delete(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, int versionId, Instant lastUpdated)
Deletes the FHIR resource from the datastore.MultiResourceResult
FHIRPersistence. history(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId)
Retrieves all of the versions of the specified FHIR Resource.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. read(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId)
Retrieves the most recent version of a FHIR Resource from the datastore.int
FHIRPersistence. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, java.time.Instant tstamp, java.util.List<java.lang.Long> indexIds, java.lang.String resourceLogicalId)
Initiates reindexing for either a specified list of index IDs, or a randomly chosen resource.MultiResourceResult
FHIRPersistence. search(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType)
Performs a search on the specified target resource type using the specified search parameters.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. update(FHIRPersistenceContext context, T resource)
Updates an existing FHIR Resource by storing a new version in the datastore.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. vread(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, java.lang.String versionId)
Retrieves a specific version of a FHIR Resource from the datastore. -
Uses of FHIRPersistenceContext in com.ibm.fhir.persistence.context
Methods in com.ibm.fhir.persistence.context that return FHIRPersistenceContext Modifier and Type Method Description static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, boolean includeDeleted)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, boolean includeDeleted, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRHistoryContext historyContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRHistoryContext.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, FHIRSearchContext searchContext)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent and a FHIRSearchContext.static FHIRPersistenceContext
FHIRPersistenceContextFactory. createPersistenceContext(FHIRPersistenceEvent event, java.lang.Integer ifNoneMatch)
Returns a FHIRPersistenceContext that contains a FHIRPersistenceEvent instance. -
Uses of FHIRPersistenceContext in com.ibm.fhir.persistence.context.impl
Classes in com.ibm.fhir.persistence.context.impl that implement FHIRPersistenceContext Modifier and Type Class Description class
FHIRPersistenceContextImpl
This class provides a concrete implementation of the FHIRPersistenceContext interface and is used to pass request context-related information to the persistence layer.Methods in com.ibm.fhir.persistence.context.impl that return FHIRPersistenceContext Modifier and Type Method Description FHIRPersistenceContext
FHIRPersistenceContextImpl.Builder. build()
Build the FHIRPersistenceContext implementation -
Uses of FHIRPersistenceContext in com.ibm.fhir.persistence.jdbc.dao.api
Methods in com.ibm.fhir.persistence.jdbc.dao.api with parameters of type FHIRPersistenceContext Modifier and Type Method Description void
ResourceDAO. setPersistenceContext(FHIRPersistenceContext context)
Sets the current persistence context -
Uses of FHIRPersistenceContext in com.ibm.fhir.persistence.jdbc.dao.impl
Methods in com.ibm.fhir.persistence.jdbc.dao.impl with parameters of type FHIRPersistenceContext Modifier and Type Method Description void
ResourceDAOImpl. setPersistenceContext(FHIRPersistenceContext context)
-
Uses of FHIRPersistenceContext in com.ibm.fhir.persistence.jdbc.impl
Methods in com.ibm.fhir.persistence.jdbc.impl with parameters of type FHIRPersistenceContext Modifier and Type Method Description <T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. create(FHIRPersistenceContext context, T updatedResource)
<T extends Resource>
voidFHIRPersistenceJDBCImpl. delete(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, int versionId, Instant lastUpdated)
MultiResourceResult
FHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. read(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId)
int
FHIRPersistenceJDBCImpl. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, java.time.Instant tstamp, java.util.List<java.lang.Long> indexIds, java.lang.String resourceLogicalId)
MultiResourceResult
FHIRPersistenceJDBCImpl. search(FHIRPersistenceContext context, java.lang.Class<? extends Resource> resourceType)
Search query implementation based on the 1385 new query builder.<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. update(FHIRPersistenceContext context, T resource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. vread(FHIRPersistenceContext context, java.lang.Class<T> resourceType, java.lang.String logicalId, java.lang.String versionId)
-