Package org.hl7.fhir.r4.hapi.rest.server
Class R4BundleFactory
- java.lang.Object
-
- org.hl7.fhir.r4.hapi.rest.server.R4BundleFactory
-
- All Implemented Interfaces:
ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
public class R4BundleFactory extends Object implements ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
-
-
Constructor Summary
Constructors Constructor Description R4BundleFactory(ca.uhn.fhir.context.FhirContext theContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResourcesToBundle(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)voidaddRootPropertiesToBundle(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.IBaseResourcegetResourceBundle()voidinitializeWithBundleResource(org.hl7.fhir.instance.model.api.IBaseResource theBundle)List<org.hl7.fhir.instance.model.api.IBaseResource>toListOfResources()
-
-
-
Constructor Detail
-
R4BundleFactory
public R4BundleFactory(ca.uhn.fhir.context.FhirContext theContext)
-
-
Method Detail
-
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:
addResourcesToBundlein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
-
addRootPropertiesToBundle
public 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)
- Specified by:
addRootPropertiesToBundlein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
-
getResourceBundle
public org.hl7.fhir.instance.model.api.IBaseResource getResourceBundle()
- Specified by:
getResourceBundlein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
-
initializeWithBundleResource
public void initializeWithBundleResource(org.hl7.fhir.instance.model.api.IBaseResource theBundle)
- Specified by:
initializeWithBundleResourcein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
-
toListOfResources
public List<org.hl7.fhir.instance.model.api.IBaseResource> toListOfResources()
- Specified by:
toListOfResourcesin interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
-
-