
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
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
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)
IBaseResource
getResourceBundle()
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 the#addRootPropertiesToBundle(String, BundleLinks, Integer, IPrimitiveType
and) addResourcesToBundle(List, BundleTypeEnum, String, BundleInclusionRule, Set)
methodsvoid
initializeWithBundleResource(IBaseResource theResource)
List<IBaseResource>
toListOfResources()
-
-
-
Method Detail
-
addResourcesToBundle
void addResourcesToBundle(List<IBaseResource> theResult, BundleTypeEnum theBundleType, String theServerBase, BundleInclusionRule theBundleInclusionRule, Set<Include> theIncludes)
-
addRootPropertiesToBundle
void addRootPropertiesToBundle(String theId, @Nonnull BundleLinks theBundleLinks, Integer theTotalResults, IPrimitiveType<Date> theLastUpdated)
-
getResourceBundle
IBaseResource 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 the#addRootPropertiesToBundle(String, BundleLinks, Integer, IPrimitiveType
and) addResourcesToBundle(List, BundleTypeEnum, String, BundleInclusionRule, Set)
methods
-
initializeWithBundleResource
void initializeWithBundleResource(IBaseResource theResource)
-
toListOfResources
List<IBaseResource> toListOfResources()
-
addTotalResultsToBundle
void addTotalResultsToBundle(Integer theTotalResults, BundleTypeEnum theBundleType)
-
-