Package ca.uhn.fhir.jpa.search
Class PersistedJpaSearchFirstPageBundleProvider
java.lang.Object
ca.uhn.fhir.jpa.search.PersistedJpaBundleProvider
ca.uhn.fhir.jpa.search.PersistedJpaSearchFirstPageBundleProvider
- All Implemented Interfaces:
ca.uhn.fhir.rest.api.server.IBundleProvider
-
Field Summary
Fields inherited from class ca.uhn.fhir.jpa.search.PersistedJpaBundleProvider
myRequest, myTxService
-
Constructor Summary
ConstructorDescriptionPersistedJpaSearchFirstPageBundleProvider
(SearchTask theSearchTask, ISearchBuilder theSearchBuilder, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionList
<org.hl7.fhir.instance.model.api.IBaseResource> getResources
(int theFromIndex, int theToIndex, ca.uhn.fhir.rest.server.method.ResponsePage.ResponsePageBuilder thePageBuilder) size()
Methods inherited from class ca.uhn.fhir.jpa.search.PersistedJpaBundleProvider
doSearchOrEverything, ensureSearchEntityLoaded, getCacheStatus, getPublished, getRequestPartitionId, getResources, getSearchEntity, getSearchEntityForTesting, getUuid, hasIncludes, preferredPageSize, setContext, setDaoRegistryForUnitTest, setEntityManager, setInterceptorBroadcaster, setRequestPartitionHelperSvcForUnitTest, setRequestPartitionId, setSearchBuilderFactoryForUnitTest, setSearchCacheSvcForUnitTest, setSearchCoordinatorSvcForUnitTest, setSearchEntity, setStorageSettingsForUnitTest, setTxServiceForUnitTest, toResourceList
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.rest.api.server.IBundleProvider
getAllResourceIds, getAllResources, getCurrentPageId, getCurrentPageOffset, getCurrentPageSize, getNextPageId, getPreviousPageId, isEmpty, sizeOrThrowNpe
-
Constructor Details
-
PersistedJpaSearchFirstPageBundleProvider
public PersistedJpaSearchFirstPageBundleProvider(SearchTask theSearchTask, ISearchBuilder theSearchBuilder, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, RequestPartitionId theRequestPartitionId) Constructor
-
-
Method Details
-
getResources
@Nonnull public List<org.hl7.fhir.instance.model.api.IBaseResource> getResources(int theFromIndex, int theToIndex, @Nonnull ca.uhn.fhir.rest.server.method.ResponsePage.ResponsePageBuilder thePageBuilder) - Specified by:
getResources
in interfaceca.uhn.fhir.rest.api.server.IBundleProvider
- Overrides:
getResources
in classPersistedJpaBundleProvider
-
size
- Specified by:
size
in interfaceca.uhn.fhir.rest.api.server.IBundleProvider
- Overrides:
size
in classPersistedJpaBundleProvider
-