Package ca.uhn.fhir.jpa.cache
Class ResourceVersionSvcDaoImpl
java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceVersionSvcDaoImpl
- All Implemented Interfaces:
IResourceVersionSvc
This service builds a map of resource ids to versions based on a SearchParameterMap.
It is used by the in-memory resource-version cache to detect when resource versions have been changed by remote processes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLatestVersionIdsForResourceIds
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, List<org.hl7.fhir.instance.model.api.IIdType> theIds) getVersionMap
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceName, SearchParameterMap theSearchParamMap) 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.cache.IResourceVersionSvc
getVersionMap
-
Constructor Details
-
ResourceVersionSvcDaoImpl
public ResourceVersionSvcDaoImpl()
-
-
Method Details
-
getVersionMap
@Nonnull @Transactional public ResourceVersionMap getVersionMap(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, String theResourceName, SearchParameterMap theSearchParamMap) - Specified by:
getVersionMap
in interfaceIResourceVersionSvc
-
getLatestVersionIdsForResourceIds
public ResourcePersistentIdMap getLatestVersionIdsForResourceIds(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, List<org.hl7.fhir.instance.model.api.IIdType> theIds) - Specified by:
getLatestVersionIdsForResourceIds
in interfaceIResourceVersionSvc
-