public interface UploadDownloadHelperService
| Modifier and Type | Method and Description |
|---|---|
void |
assertS3ObjectKeyDoesNotExist(String bucketName,
String key)
Asserts that the S3 object in the specified bucket and key does not exist.
|
void |
deleteSourceFileFromS3(CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
delete the source file from S3
|
void |
executeFileMoveAfterSteps(CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
Executes the steps required to complete the processing of complete upload single message following a successful S3 file move operation.
|
void |
performFileMove(CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
Moves an S3 file from the source bucket to the target bucket.
|
void |
prepareForFileMove(String objectKey,
CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
Prepares to move an S3 file from the source bucket to the target bucket.
|
void |
updateBusinessObjectDataStatus(BusinessObjectDataKey businessObjectDataKey,
String businessObjectDataStatus)
Updates the business object data status in a new transaction.
|
void prepareForFileMove(String objectKey, CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
objectKey - the object key (i.e. filename)completeUploadSingleParamsDto - the DTO to be initialized with parameters required for complete upload single message processingvoid performFileMove(CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
completeUploadSingleParamsDto - the DTO that contains complete upload single message parametersvoid executeFileMoveAfterSteps(CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
completeUploadSingleParamsDto - the DTO that contains complete upload single message parametersvoid deleteSourceFileFromS3(CompleteUploadSingleParamsDto completeUploadSingleParamsDto)
completeUploadSingleParamsDto - the DTO that contains complete upload single message parametersvoid updateBusinessObjectDataStatus(BusinessObjectDataKey businessObjectDataKey, String businessObjectDataStatus)
businessObjectDataKey - the business object data keybusinessObjectDataStatus - the business object data statusCopyright © 2019. All rights reserved.