package org.jeecg.modules.doc.service;
|
|
import org.jeecg.modules.doc.entity.DocFilePath;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import java.util.List;
|
import java.util.Map;
|
import java.util.Set;
|
|
/**
|
* @Description: doc_file_path
|
* @Author: jeecg-boot
|
* @Date: 2022-07-04
|
* @Version: V1.0
|
*/
|
public interface IDocFilePathService extends IService<DocFilePath> {
|
|
void initDocFilePath();
|
|
List<DocFilePath> listFiles(Set<String> pathIds);
|
|
void deleteUserFile(String pathId, String id);
|
|
List<DocFilePath> selectUserFileByLikeRightFilePath(String filePath);
|
|
List<DocFilePath> selectUserFileByNameAndPath(String fileName, String filePath, String id);
|
|
void userFileCopy(String userFileId, String newfilePath);
|
|
void updateFilepathByUserFileId(String userFileId, String newfilePath);
|
|
List<DocFilePath> listDirTree(DocFilePath docFilePath, Set<String> pathIds);
|
|
|
boolean selectPermissionByPath(String pathId,Map<String, DocFilePath> manage);
|
|
List<Map<String, Object>> querySubCount(String[] fileIds);
|
|
List<DocFilePath> selectSameUserFile(String fileName, String filePath, String extendName);
|
|
List<DocFilePath> getDocFilePathsByPathName(String parentFilePath, String fileName);
|
}
|