Class PersistedJpaIdSearchBundleProvider

java.lang.Object
ca.uhn.fhir.jpa.search.PersistedJpaIdSearchBundleProvider
All Implemented Interfaces:
ca.uhn.fhir.rest.api.server.IBundleProvider

public class PersistedJpaIdSearchBundleProvider extends Object implements ca.uhn.fhir.rest.api.server.IBundleProvider
Bundle provider that can search and paginate history entries for specific resource IDs.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PersistedJpaIdSearchBundleProvider(String theResourceType, List<ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>> theResourceIds, RequestPartitionId thePartitionId, Date theRangeStartInclusive, Date theRangeEndInclusive)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.instance.model.api.IPrimitiveType<Date>
     
    List<org.hl7.fhir.instance.model.api.IBaseResource>
    getResources(int theFromIndex, int theToIndex)
     
    List<org.hl7.fhir.instance.model.api.IBaseResource>
    getResources(int theFromIndex, int theToIndex, ca.uhn.fhir.rest.server.method.ResponsePage.ResponsePageBuilder theResponsePageBuilder)
     
     
     
     

    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

    containsAllResources, getAllResourceIds, getAllResources, getCurrentPageId, getCurrentPageOffset, getCurrentPageSize, getNextPageId, getPreviousPageId, getResourceListComplete, isEmpty, sizeOrThrowNpe
  • Constructor Details

  • Method Details

    • getPublished

      public org.hl7.fhir.instance.model.api.IPrimitiveType<Date> getPublished()
      Specified by:
      getPublished in interface ca.uhn.fhir.rest.api.server.IBundleProvider
    • getResources

      @Nonnull public List<org.hl7.fhir.instance.model.api.IBaseResource> getResources(int theFromIndex, int theToIndex)
      Specified by:
      getResources in interface ca.uhn.fhir.rest.api.server.IBundleProvider
    • getResources

      public List<org.hl7.fhir.instance.model.api.IBaseResource> getResources(int theFromIndex, int theToIndex, @Nonnull ca.uhn.fhir.rest.server.method.ResponsePage.ResponsePageBuilder theResponsePageBuilder)
      Specified by:
      getResources in interface ca.uhn.fhir.rest.api.server.IBundleProvider
    • getUuid

      public String getUuid()
      Specified by:
      getUuid in interface ca.uhn.fhir.rest.api.server.IBundleProvider
    • preferredPageSize

      Specified by:
      preferredPageSize in interface ca.uhn.fhir.rest.api.server.IBundleProvider
    • size

      public Integer size()
      Specified by:
      size in interface ca.uhn.fhir.rest.api.server.IBundleProvider