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.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) 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) -
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)
-