Class CommonUtil
- java.lang.Object
 - 
- com.ibm.fhir.operation.bulkdata.util.CommonUtil
 
 
- 
public class CommonUtil extends Object
Common Util captures common methods 
- 
- 
Constructor Summary
Constructors Constructor Description CommonUtil() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIROperationExceptionbuildExceptionWithIssue(String msg, IssueType issueType)FHIROperationExceptionbuildExceptionWithIssue(String msg, Throwable cause, IssueType issueType)voidcheckAllowed(FHIROperationContext operationContext)voidcheckEnabled()checks that bulkdata operation is enabledvoidverifyAllowedType(String storageType)checks the storage type is allowed. 
 - 
 
- 
- 
Method Detail
- 
checkEnabled
public void checkEnabled() throws FHIROperationExceptionchecks that bulkdata operation is enabled- Throws:
 FHIROperationException
 
- 
checkAllowed
public void checkAllowed(FHIROperationContext operationContext) throws FHIROperationException
- Parameters:
 operationContext-- Throws:
 FHIROperationException
 
- 
verifyAllowedType
public void verifyAllowedType(String storageType) throws FHIROperationException
checks the storage type is allowed.- Parameters:
 storageType-- 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
 
 - 
 
 -