接口 FileService
- 所有已知实现类:
FileServiceImpl
文件管理接口
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
方法概要
修饰符和类型方法说明void清空回收站void收藏void创建副本void删除voiddeleteByCategoryId(Long categoryId) 通过categoryId删除org.springframework.data.domain.Page<File>getFileList(File file, plus.hiver.common.vo.SearchVo searchVo, plus.hiver.common.vo.PageVo pageVo, Boolean getCurrUser) 多条件获取列表void重命名void回收站操作从接口继承的方法 plus.hiver.common.base.HiverBaseService
count, delete, delete, delete, deleteAllById, findAll, findAll, findAll, findById, flush, get, getAll, getTotalCount, save, saveOrUpdateAll, update
-
方法详细资料
-
getFileList
org.springframework.data.domain.Page<File> getFileList(File file, plus.hiver.common.vo.SearchVo searchVo, plus.hiver.common.vo.PageVo pageVo, Boolean getCurrUser) 多条件获取列表- 参数:
file- 查询条件searchVo- 搜索条件pageVo- 分页条件getCurrUser- 是否获取当前用户- 返回:
- 结果
-
trash
回收站操作- 参数:
id- 主键getCurrUser- 是否获取当前用户
-
collect
收藏- 参数:
id- 主键getCurrUser- 是否获取当前用户
-
rename
重命名- 参数:
id- 主键newKey- 新keynewTitle- 新标题getCurrUser- 是否获取当前用户
-
copy
创建副本- 参数:
id- 主键getCurrUser- 是否获取当前用户
-
delete
删除- 参数:
ids- 主键数组getCurrUser- 是否获取当前用户
-
clearTrash
void clearTrash()清空回收站 -
deleteByCategoryId
通过categoryId删除- 参数:
categoryId- 分类id
-