public class R4BundleFactory extends Object implements ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
| Constructor and Description |
|---|
R4BundleFactory(ca.uhn.fhir.context.FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
addRootPropertiesToBundle(String theId,
String theServerBase,
String theLinkSelf,
String theLinkPrev,
String theLinkNext,
Integer theTotalResults,
ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType,
org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theLastUpdated) |
org.hl7.fhir.instance.model.api.IBaseResource |
getResourceBundle() |
void |
initializeBundleFromResourceList(String theAuthor,
List<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResources,
String theServerBase,
String theCompleteUrl,
int theTotalResults,
ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType) |
void |
initializeWithBundleResource(org.hl7.fhir.instance.model.api.IBaseResource theBundle) |
List<org.hl7.fhir.instance.model.api.IBaseResource> |
toListOfResources() |
public R4BundleFactory(ca.uhn.fhir.context.FhirContext theContext)
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)
addResourcesToBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactorypublic void addRootPropertiesToBundle(String theId, String theServerBase, String theLinkSelf, String theLinkPrev, String theLinkNext, Integer theTotalResults, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theLastUpdated)
addRootPropertiesToBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactorypublic org.hl7.fhir.instance.model.api.IBaseResource getResourceBundle()
getResourceBundle in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactorypublic void initializeBundleFromResourceList(String theAuthor, List<? extends org.hl7.fhir.instance.model.api.IBaseResource> theResources, String theServerBase, String theCompleteUrl, int theTotalResults, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType)
initializeBundleFromResourceList in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactorypublic void initializeWithBundleResource(org.hl7.fhir.instance.model.api.IBaseResource theBundle)
initializeWithBundleResource in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactorypublic List<org.hl7.fhir.instance.model.api.IBaseResource> toListOfResources()
toListOfResources in interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactoryCopyright © 2014–2019 University Health Network. All rights reserved.