
Class Dstu2BundleFactory
java.lang.Object
ca.uhn.fhir.rest.server.provider.dstu2.Dstu2BundleFactory
- All Implemented Interfaces:
 ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
public class Dstu2BundleFactory
extends Object
implements ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddResourcesToBundle(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, ca.uhn.fhir.rest.api.BundleLinks theBundleLinks, Integer theTotalResults, org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theLastUpdated) voidaddTotalResultsToBundle(Integer theTotalResults, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType) ca.uhn.fhir.model.api.IResourcevoidinitializeWithBundleResource(org.hl7.fhir.instance.model.api.IBaseResource theBundle) List<org.hl7.fhir.instance.model.api.IBaseResource> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
initializeBundleFromResourceList 
- 
Constructor Details
- 
Dstu2BundleFactory
 
 - 
 - 
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:
 addResourcesToBundlein interfaceca.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:
 addRootPropertiesToBundlein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
 - 
addTotalResultsToBundle
public void addTotalResultsToBundle(Integer theTotalResults, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType) - Specified by:
 addTotalResultsToBundlein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
 - 
getResourceBundle
- Specified by:
 getResourceBundlein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
 - 
initializeWithBundleResource
- Specified by:
 initializeWithBundleResourcein interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
 - 
toListOfResources
- Specified by:
 toListOfResourcesin interfaceca.uhn.fhir.rest.api.IVersionSpecificBundleFactory
 
 -