
Package ca.uhn.fhir.jpa.packages
Interface IHapiPackageCacheManager
- All Superinterfaces:
org.hl7.fhir.utilities.npm.IPackageCacheManager
- All Known Implementing Classes:
JpaPackageCache
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseResourcefindPackageAsset(FindPackageAssetRequest theFindPackageAssetRequest) findPackageAssetInfoByUrl(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl) List<org.hl7.fhir.instance.model.api.IBaseResource> findPackageAssets(FindPackageAssetRequest theRequest) Returns all package assets matching the request object.org.hl7.fhir.utilities.npm.NpmPackageinstallPackage(PackageInstallationSpec theInstallationSpec) org.hl7.fhir.instance.model.api.IBaseResourceloadPackageAssetByUrl(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl) List<org.hl7.fhir.instance.model.api.IBaseResource> loadPackageAssetsByType(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theResourceType) List<org.hl7.fhir.instance.model.api.IBaseResource> loadPackageAssetsByUrl(ca.uhn.fhir.context.FhirVersionEnum theFhirVersionEnum, String theCanonicalUrl, org.springframework.data.domain.PageRequest thePageRequest) Returns all possible resources by the provided url and fhir version.loadPackageContents(String thePackageId, String theVersion) loadPackageMetadata(String thePackageId) search(PackageSearchSpec thePackageSearchSpec) uninstallPackage(String thePackageId, String theVersion) Methods inherited from interface org.hl7.fhir.utilities.npm.IPackageCacheManager
addPackageToCache, getPackageId, getPackageUrl, loadPackage, loadPackage
-
Method Details
-
installPackage
org.hl7.fhir.utilities.npm.NpmPackage installPackage(PackageInstallationSpec theInstallationSpec) throws IOException - Throws:
IOException
-
loadPackageAssetByUrl
org.hl7.fhir.instance.model.api.IBaseResource loadPackageAssetByUrl(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl) -
loadPackageAssetsByUrl
List<org.hl7.fhir.instance.model.api.IBaseResource> loadPackageAssetsByUrl(ca.uhn.fhir.context.FhirVersionEnum theFhirVersionEnum, String theCanonicalUrl, org.springframework.data.domain.PageRequest thePageRequest) Returns all possible resources by the provided url and fhir version. -
findPackageAssetInfoByUrl
List<NpmPackageAssetInfoJson> findPackageAssetInfoByUrl(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl) -
findPackageAsset
org.hl7.fhir.instance.model.api.IBaseResource findPackageAsset(FindPackageAssetRequest theFindPackageAssetRequest) -
findPackageAssets
List<org.hl7.fhir.instance.model.api.IBaseResource> findPackageAssets(FindPackageAssetRequest theRequest) Returns all package assets matching the request object.- Parameters:
theRequest- the request object- Returns:
- a list of package assets
-
loadPackageMetadata
NpmPackageMetadataJson loadPackageMetadata(String thePackageId) throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException - Throws:
ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
-
loadPackageContents
IHapiPackageCacheManager.PackageContents loadPackageContents(String thePackageId, String theVersion) -
search
-
uninstallPackage
-
loadPackageAssetsByType
List<org.hl7.fhir.instance.model.api.IBaseResource> loadPackageAssetsByType(ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theResourceType)
-