public class Dstu2BundleFactory extends Object implements IVersionSpecificBundleFactory
| Constructor and Description |
|---|
Dstu2BundleFactory(FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourcesToBundle(List<IBaseResource> theResult,
BundleTypeEnum theBundleType,
String theServerBase,
BundleInclusionRule theBundleInclusionRule,
Set<Include> theIncludes) |
void |
addRootPropertiesToBundle(String theAuthor,
String theServerBase,
String theCompleteUrl,
Integer theTotalResults,
BundleTypeEnum theBundleType,
IPrimitiveType<Date> theLastUpdated) |
Bundle |
getDstu1Bundle() |
IResource |
getResourceBundle() |
void |
initializeBundleFromBundleProvider(IRestfulServer theServer,
IBundleProvider theResult,
EncodingEnum theResponseEncoding,
String theServerBase,
String theCompleteUrl,
boolean thePrettyPrint,
int theOffset,
Integer theLimit,
String theSearchId,
BundleTypeEnum theBundleType,
Set<Include> theIncludes) |
void |
initializeBundleFromResourceList(String theAuthor,
List<? extends IBaseResource> theResources,
String theServerBase,
String theCompleteUrl,
int theTotalResults,
BundleTypeEnum theBundleType) |
void |
initializeWithBundleResource(IBaseResource theBundle) |
List<IBaseResource> |
toListOfResources() |
public Dstu2BundleFactory(FhirContext theContext)
public void addResourcesToBundle(List<IBaseResource> theResult, BundleTypeEnum theBundleType, String theServerBase, BundleInclusionRule theBundleInclusionRule, Set<Include> theIncludes)
addResourcesToBundle in interface IVersionSpecificBundleFactorypublic void addRootPropertiesToBundle(String theAuthor, String theServerBase, String theCompleteUrl, Integer theTotalResults, BundleTypeEnum theBundleType, IPrimitiveType<Date> theLastUpdated)
addRootPropertiesToBundle in interface IVersionSpecificBundleFactorypublic Bundle getDstu1Bundle()
getDstu1Bundle in interface IVersionSpecificBundleFactorypublic IResource getResourceBundle()
getResourceBundle in interface IVersionSpecificBundleFactorypublic void initializeBundleFromBundleProvider(IRestfulServer theServer, IBundleProvider theResult, EncodingEnum theResponseEncoding, String theServerBase, String theCompleteUrl, boolean thePrettyPrint, int theOffset, Integer theLimit, String theSearchId, BundleTypeEnum theBundleType, Set<Include> theIncludes)
initializeBundleFromBundleProvider in interface IVersionSpecificBundleFactorypublic void initializeBundleFromResourceList(String theAuthor, List<? extends IBaseResource> theResources, String theServerBase, String theCompleteUrl, int theTotalResults, BundleTypeEnum theBundleType)
initializeBundleFromResourceList in interface IVersionSpecificBundleFactorypublic void initializeWithBundleResource(IBaseResource theBundle)
initializeWithBundleResource in interface IVersionSpecificBundleFactorypublic List<IBaseResource> toListOfResources()
toListOfResources in interface IVersionSpecificBundleFactoryCopyright © 2014–2016 University Health Network. All rights reserved.