Uses of Interface
com.ibm.fhir.persistence.context.FHIRPersistenceContext
-
-
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.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 protected List<Resource>
FHIRPersistenceJDBCImpl. buildSortedFhirResources(ResourceDAO resourceDao, FHIRPersistenceContext context, Class<? extends Resource> resourceType, List<Long> sortedIdList, List<String> elements)
This method takes the passed list of sorted Resource ids, acquires the Resource corresponding to each id, and returns those Resources in a List, sorted according to the input sorted ids.<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)
<T extends Resource>
SingleResourceResult<T>FHIRPersistenceJDBCImpl. read(FHIRPersistenceContext context, Class<T> resourceType, String logicalId)
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)
-