Class Dstu2Hl7OrgBundleFactory

java.lang.Object
ca.uhn.fhir.rest.server.provider.dstu2hl7org.Dstu2Hl7OrgBundleFactory
All Implemented Interfaces:
ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory

public class Dstu2Hl7OrgBundleFactory extends Object implements ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
  • Constructor Details

  • Method Details

    • addResourcesToBundle

      public void addResourcesToBundle(List<org.hl7.fhir.instance.model.api.IBaseResource> theResult, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType, String theServerBase, ca.uhn.fhir.context.api.BundleInclusionRule theBundleInclusionRule, Set<ca.uhn.fhir.model.api.Include> theIncludes)
      Specified by:
      addResourcesToBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
    • addRootPropertiesToBundle

      public void addRootPropertiesToBundle(String theId, @Nonnull ca.uhn.fhir.rest.api.BundleLinks theBundleLinks, Integer theTotalResults, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theLastUpdated)
      Specified by:
      addRootPropertiesToBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
    • addTotalResultsToBundle

      public void addTotalResultsToBundle(Integer theTotalResults, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType)
      Specified by:
      addTotalResultsToBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
    • getResourceBundle

      public org.hl7.fhir.instance.model.api.IBaseResource getResourceBundle()
      Specified by:
      getResourceBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
    • initializeWithBundleResource

      public void initializeWithBundleResource(org.hl7.fhir.instance.model.api.IBaseResource theBundle)
      Specified by:
      initializeWithBundleResource in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
    • toListOfResources

      public List<org.hl7.fhir.instance.model.api.IBaseResource> toListOfResources()
      Specified by:
      toListOfResources in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory