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, Map<String,SaltHash> localCache, FHIRPersistence persistence, FHIRPersistenceContext context, String logicalId, Resource resource)
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>
SingleResourceResult<T>FHIRPersistence. delete(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
Deletes the specified FHIR Resource from the datastore.<T extends Resource>
MultiResourceResult<T>FHIRPersistence. history(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
Retrieves all of the versions of the specified FHIR Resource.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. read(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
Retrieves the most recent version of a FHIR Resource from the datastore.int
FHIRPersistence. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, Instant tstamp, List<Long> indexIds, String resourceLogicalId)
Initiates reindexing for either a specified list of index IDs, or a randomly chosen resource.MultiResourceResult<Resource>
FHIRPersistence. search(FHIRPersistenceContext context, 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, String logicalId, T resource)
Updates an existing FHIR Resource by storing a new version in the datastore.<T extends Resource>
SingleResourceResult<T>FHIRPersistence. vread(FHIRPersistenceContext context, Class<T> resourceType, String logicalId, 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. -
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. -
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 resource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. delete(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
<T extends Resource>
MultiResourceResult<T>FHIRPersistenceJDBCImpl. history(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
MultiResourceResult<Resource>
FHIRPersistenceJDBCImpl. newSearch(FHIRPersistenceContext context, Class<? extends Resource> resourceType)
Search query implementation based on the 1385 new query builder.<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. read(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
int
FHIRPersistenceJDBCImpl. reindex(FHIRPersistenceContext context, OperationOutcome.Builder operationOutcomeResult, Instant tstamp, List<Long> indexIds, String resourceLogicalId)
MultiResourceResult<Resource>
FHIRPersistenceJDBCImpl. search(FHIRPersistenceContext context, Class<? extends Resource> resourceType)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. update(FHIRPersistenceContext context, String logicalId, T resource)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. vread(FHIRPersistenceContext context, Class<T> resourceType, String logicalId, String versionId)
-