package net.gepafin.tendermanagement.service; import org.springframework.stereotype.Component; import org.springframework.web.multipart.MultipartFile; import net.gepafin.tendermanagement.model.response.UploadFileOnAmazonS3Response; import java.io.IOException; import java.io.InputStream; @Component public interface AmazonS3Service { public String upload(String fileName, String s3Folder, MultipartFile file) throws IOException; public Boolean delete(String s3Folder, String fileName); InputStream getFile(String s3Folder, String filePath) throws IOException; public UploadFileOnAmazonS3Response uploadFileOnAmazonS3(String s3Folder, MultipartFile file); }