Class BulkDataImportUtil
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.util.BulkDataImportUtil
-
public class BulkDataImportUtil extends java.lang.Object
BulkData Import Util captures common methods
-
-
Constructor Summary
Constructors Constructor Description BulkDataImportUtil(FHIROperationContext operationContext, Parameters parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkAllowedTotalSizeForTenantOrSystem(java.lang.Integer inputSize)
check the allowed total size for tenant and systemjava.lang.String
retrieveInputFormat()
processes the parameter inputFormat from the Parameters object and evaluationContext.java.util.List<Input>
retrieveInputs()
processes the retrieve inputs from the Parameters object and evaluationContext.java.lang.String
retrieveInputSource()
processes the retrieveInputSource from the parameters object and evaluationContext.StorageDetail
retrieveStorageDetails()
void
verifyUrlAllowed(java.lang.String url)
verify url is allowed.
-
-
-
Constructor Detail
-
BulkDataImportUtil
public BulkDataImportUtil(FHIROperationContext operationContext, Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
-
Method Detail
-
retrieveInputFormat
public java.lang.String retrieveInputFormat() throws FHIROperationException
processes the parameter inputFormat from the Parameters object and evaluationContext.- Returns:
- Throws:
FHIROperationException
-
retrieveInputSource
public java.lang.String retrieveInputSource() throws FHIROperationException
processes the retrieveInputSource from the parameters object and evaluationContext.- Returns:
- Throws:
FHIROperationException
-
retrieveInputs
public java.util.List<Input> retrieveInputs() throws FHIROperationException
processes the retrieve inputs from the Parameters object and evaluationContext.- Returns:
- Throws:
FHIROperationException
-
checkAllowedTotalSizeForTenantOrSystem
public void checkAllowedTotalSizeForTenantOrSystem(java.lang.Integer inputSize) throws FHIROperationException
check the allowed total size for tenant and system- Parameters:
inputSize
-- Throws:
FHIROperationException
-
verifyUrlAllowed
public void verifyUrlAllowed(java.lang.String url) throws FHIROperationException
verify url is allowed.- Parameters:
url
-- Throws:
FHIROperationException
-
retrieveStorageDetails
public StorageDetail retrieveStorageDetails() throws FHIROperationException
- Throws:
FHIROperationException
-
-