FileUpdateInfoService.java 591 B

123456789101112131415161718192021
  1. package com.ruoyi.file.service;
  2. import com.ruoyi.file.domain.FileUpdateInfo;
  3. import java.util.List;
  4. public interface FileUpdateInfoService {
  5. void addFileToDatabase(FileUpdateInfo fileUpdateInfo) throws Exception;
  6. boolean checkFileUpdate(Long id) throws Exception;
  7. void performFileUpdate(Long id) throws Exception;
  8. List<FileUpdateInfo> getAllFiles() throws Exception;
  9. List<FileUpdateInfo> getFilesByFileNameContaining(String fileName) throws Exception;
  10. FileUpdateInfo getFileById(Long id) throws Exception;
  11. void deleteFileById(Long id) throws Exception;
  12. }