@Service public class ExpireRestoredBusinessObjectDataHelperServiceImpl extends Object implements ExpireRestoredBusinessObjectDataHelperService
| Constructor and Description |
|---|
ExpireRestoredBusinessObjectDataHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeStorageUnitExpiration(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
Completes the finalize restore operation.
|
protected void |
completeStorageUnitExpirationImpl(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
Completes the expiration of a storage unit.
|
void |
executeS3SpecificSteps(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
Executes S3 specific steps for the business object data finalize restore.
|
protected void |
executeS3SpecificStepsImpl(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
Executes S3 specific steps required to expire business object data.
|
protected StorageUnitEntity |
getStorageUnit(String storageName,
BusinessObjectDataEntity businessObjectDataEntity)
Retrieves a storage unit for the business object data in the specified storage and validates it.
|
BusinessObjectDataRestoreDto |
prepareToExpireStorageUnit(BusinessObjectDataStorageUnitKey storageUnitKey)
Prepares for the business object data finalize restore by validating the S3 storage unit along with other related database entities.
|
protected BusinessObjectDataRestoreDto |
prepareToExpireStorageUnitImpl(BusinessObjectDataStorageUnitKey storageUnitKey)
Prepares for the business object data expiration by validating the S3 storage unit along with other related database entities.
|
public ExpireRestoredBusinessObjectDataHelperServiceImpl()
@PublishNotificationMessages @Transactional(propagation=REQUIRES_NEW) public void completeStorageUnitExpiration(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
completeStorageUnitExpiration in interface ExpireRestoredBusinessObjectDataHelperServicebusinessObjectDataRestoreDto - the DTO that holds various parameters needed to perform a business object data restore@Transactional(propagation=NOT_SUPPORTED) public void executeS3SpecificSteps(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
executeS3SpecificSteps in interface ExpireRestoredBusinessObjectDataHelperServicebusinessObjectDataRestoreDto - the DTO that holds various parameters needed to perform a business object data restore@PublishNotificationMessages @Transactional(propagation=REQUIRES_NEW) public BusinessObjectDataRestoreDto prepareToExpireStorageUnit(BusinessObjectDataStorageUnitKey storageUnitKey)
prepareToExpireStorageUnit in interface ExpireRestoredBusinessObjectDataHelperServicestorageUnitKey - the storage unit keyprotected void completeStorageUnitExpirationImpl(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
businessObjectDataRestoreDto - the DTO that holds various parameters needed to expire business object dataprotected void executeS3SpecificStepsImpl(BusinessObjectDataRestoreDto businessObjectDataRestoreDto)
businessObjectDataRestoreDto - the DTO that holds various parameters needed to expire business object dataprotected StorageUnitEntity getStorageUnit(String storageName, BusinessObjectDataEntity businessObjectDataEntity)
storageName - the storage namebusinessObjectDataEntity - the business object data entityprotected BusinessObjectDataRestoreDto prepareToExpireStorageUnitImpl(BusinessObjectDataStorageUnitKey storageUnitKey)
storageUnitKey - the storage unit keyCopyright © 2021. All rights reserved.