Package ca.uhn.fhir.rest.api
Interface IVersionSpecificBundleFactory
public interface IVersionSpecificBundleFactory
This interface should be considered experimental and will likely change in future releases of HAPI. Use with caution!
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourcesToBundle
(List<IBaseResource> theResult, BundleTypeEnum theBundleType, String theServerBase, BundleInclusionRule theBundleInclusionRule, Set<Include> theIncludes) void
addRootPropertiesToBundle
(String theId, BundleLinks theBundleLinks, Integer theTotalResults, IPrimitiveType<Date> theLastUpdated) void
addTotalResultsToBundle
(Integer theTotalResults, BundleTypeEnum theBundleType) default void
initializeBundleFromResourceList
(String theAuthor, List<? extends IBaseResource> theResult, String theServerBase, String theCompleteUrl, int theTotalResults, BundleTypeEnum theBundleType) Deprecated.void
initializeWithBundleResource
(IBaseResource theResource)
-
Method Details
-
addResourcesToBundle
void addResourcesToBundle(List<IBaseResource> theResult, BundleTypeEnum theBundleType, String theServerBase, @Nullable BundleInclusionRule theBundleInclusionRule, @Nullable Set<Include> theIncludes) -
addRootPropertiesToBundle
void addRootPropertiesToBundle(String theId, @Nonnull BundleLinks theBundleLinks, Integer theTotalResults, IPrimitiveType<Date> theLastUpdated) -
getResourceBundle
-
initializeBundleFromResourceList
@Deprecated default void initializeBundleFromResourceList(String theAuthor, List<? extends IBaseResource> theResult, String theServerBase, String theCompleteUrl, int theTotalResults, BundleTypeEnum theBundleType) Deprecated.This was deprecated in HAPI FHIR 4.1.0 as it provides duplicate functionality to theaddRootPropertiesToBundle(String, BundleLinks, Integer, IPrimitiveType<Date>)
andaddResourcesToBundle(List, BundleTypeEnum, String, BundleInclusionRule, Set)
methods -
initializeWithBundleResource
-
toListOfResources
-
addTotalResultsToBundle
-
addRootPropertiesToBundle(String, BundleLinks, Integer, IPrimitiveType<Date>)
andaddResourcesToBundle(List, BundleTypeEnum, String, BundleInclusionRule, Set)
methods