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 FHIROperationException
buildExceptionWithIssue(String msg, IssueType issueType)
static FHIROperationException
buildExceptionWithIssue(String msg, Throwable cause, IssueType issueType)
static void
checkAllowedTotalSizeForTenantOrSystem(Integer inputSize)
check the allowed total size for tenant and systemstatic String
retrieveInputFormat(Parameters parameters)
static List<Input>
retrieveInputs(Parameters parameters)
static String
retrieveInputSource(Parameters parameters)
static StorageDetail
retrieveStorageDetails(Parameters parameters)
static void
verifyUrlAllowed(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
-
-