Class BulkDataImportUtil
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.util.BulkDataImportUtil
-
public class BulkDataImportUtil extends Object
BulkData Import Util captures common methods
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FHIROperationExceptionbuildExceptionWithIssue(String msg, IssueType issueType)static FHIROperationExceptionbuildExceptionWithIssue(String msg, Throwable cause, IssueType issueType)static voidcheckAllowedTotalSizeForTenantOrSystem(Integer inputSize)check the allowed total size for tenant and systemstatic StringretrieveInputFormat(Parameters parameters)static List<Input>retrieveInputs(Parameters parameters)static StringretrieveInputSource(Parameters parameters)static StorageDetailretrieveStorageDetails(Parameters parameters)static voidverifyUrlAllowed(String url)verify url is allowed.
-
-
-
Method Detail
-
buildExceptionWithIssue
public static FHIROperationException buildExceptionWithIssue(String msg, IssueType issueType) throws FHIROperationException
- Throws:
FHIROperationException
-
buildExceptionWithIssue
public static FHIROperationException buildExceptionWithIssue(String msg, Throwable cause, IssueType issueType) throws FHIROperationException
- Throws:
FHIROperationException
-
retrieveInputFormat
public static String retrieveInputFormat(Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
retrieveInputSource
public static String retrieveInputSource(Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
retrieveInputs
public static List<Input> retrieveInputs(Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
checkAllowedTotalSizeForTenantOrSystem
public static void checkAllowedTotalSizeForTenantOrSystem(Integer inputSize) throws FHIROperationException
check the allowed total size for tenant and system- Parameters:
inputSize-- Throws:
FHIROperationException
-
verifyUrlAllowed
public static void verifyUrlAllowed(String url) throws FHIROperationException
verify url is allowed.- Parameters:
url-- Throws:
FHIROperationException
-
retrieveStorageDetails
public static StorageDetail retrieveStorageDetails(Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
-