Package ca.uhn.fhir.jpa.dao
Class HistoryBuilder
java.lang.Object
ca.uhn.fhir.jpa.dao.HistoryBuilder
The HistoryBuilder is responsible for building history queries
-
Field Summary
Modifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManager
protected ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster
-
Constructor Summary
ConstructorDescriptionHistoryBuilder
(String theResourceType, Long theResourceId, Date theRangeStartInclusive, Date theRangeEndInclusive) Constructor -
Method Summary
Modifier and TypeMethodDescriptionfetchCount
(RequestPartitionId thePartitionId) fetchEntities
(RequestPartitionId thePartitionId, Integer theOffset, int theFromIndex, int theToIndex, ca.uhn.fhir.rest.param.HistorySearchStyleEnum theHistorySearchStyle)
-
Field Details
-
myInterceptorBroadcaster
-
myEntityManager
-
-
Constructor Details
-
HistoryBuilder
public HistoryBuilder(@Nullable String theResourceType, @Nullable Long theResourceId, @Nullable Date theRangeStartInclusive, @Nullable Date theRangeEndInclusive) Constructor
-
-
Method Details
-
fetchCount
-
fetchEntities
public List<ResourceHistoryTable> fetchEntities(RequestPartitionId thePartitionId, Integer theOffset, int theFromIndex, int theToIndex, ca.uhn.fhir.rest.param.HistorySearchStyleEnum theHistorySearchStyle)
-