Script for migrating deleted Documents
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
package net.gepafin.tendermanagement.service;
|
||||
import net.gepafin.tendermanagement.entities.DocumentEntity;
|
||||
import net.gepafin.tendermanagement.entities.UserCompanyDelegationEntity;
|
||||
import net.gepafin.tendermanagement.enums.DocOtherSourceTypeEnum;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@@ -20,14 +17,6 @@ AmazonS3Service {
|
||||
|
||||
InputStream getFile(String s3Folder, String filePath) throws IOException;
|
||||
|
||||
String generateS3PathForDeletedDocument(DocOtherSourceTypeEnum typeOfDocument, Long callId, Long applicationId,Long amendmentId);
|
||||
|
||||
String generateS3PathForDeletedDocumentForOther();
|
||||
|
||||
void moveFile(String bucketName, String oldPath, String newPath);
|
||||
|
||||
void deleteDelegationfromS3(UserCompanyDelegationEntity userCompanyDelegationEntity);
|
||||
|
||||
void deleteFileFromS3(DocumentEntity documentEntity, Long callId, Long applicationId,Long amendmentId);
|
||||
UploadFileOnAmazonS3Response moveFile(String fileName, String oldPath, String newPath);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user