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