|
|
@@ -1,10 +1,7 @@
|
|
|
package cn.reghao.dfs.api.iface;
|
|
|
|
|
|
-import cn.reghao.dfs.api.dto.DeleteFile;
|
|
|
import cn.reghao.dfs.api.dto.DirProp;
|
|
|
-import cn.reghao.dfs.api.dto.FileInfoVO;
|
|
|
import cn.reghao.dfs.api.dto.FileProp;
|
|
|
-import cn.reghao.jutil.jdk.db.PageList;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -13,11 +10,6 @@ import java.util.List;
|
|
|
* @date 2023-05-18 19:23:07
|
|
|
*/
|
|
|
public interface FileService {
|
|
|
- PageList<FileInfoVO> getFileList(String pid, int pageNumber);
|
|
|
- PageList<FileInfoVO> getFileCard(String pid, int pageNumber);
|
|
|
- List<FileInfoVO> getDirectories(String pid);
|
|
|
- PageList<DeleteFile> getTrashList(int pageNumber, int pageSize);
|
|
|
-
|
|
|
String checkFilename(String pid, String filename);
|
|
|
void createDirectory(String pid, String filename);
|
|
|
String createFile(String pid, String filename, String content);
|
|
|
@@ -27,5 +19,4 @@ public interface FileService {
|
|
|
void deleteFiles(List<String> fileIds);
|
|
|
FileProp getFileProp(String fileId);
|
|
|
DirProp getDirProp(String fileId);
|
|
|
- PageList<FileInfoVO> search(String keyword, int pageNumber);
|
|
|
}
|