类 FileServiceImpl
- 所有已实现的接口:
plus.hiver.common.base.HiverBaseService<File,,Long> FileService
@Service
@CacheConfig(cacheNames="file")
public class FileServiceImpl
extends plus.hiver.common.base.HiverBaseServiceImpl<File,Long,FileDao>
implements FileService
文件管理接口实现
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
字段概要
从类继承的字段 plus.hiver.common.base.HiverBaseServiceImpl
dao -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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.HiverBaseServiceImpl
count, delete, delete, delete, deleteAllById, findAll, findAll, findAll, findById, flush, getAll, getTotalCount, save, saveOrUpdateAll, update从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 plus.hiver.common.base.HiverBaseService
count, delete, delete, delete, deleteAllById, findAll, findAll, findAll, findById, flush, getAll, getTotalCount, save, saveOrUpdateAll, update
-
构造器详细资料
-
FileServiceImpl
-
-
方法详细资料
-
get
-
getFileList
public org.springframework.data.domain.Page<File> getFileList(File file, plus.hiver.common.vo.SearchVo searchVo, plus.hiver.common.vo.PageVo pageVo, Boolean getCurrUser) 从接口复制的说明:FileService多条件获取列表- 指定者:
getFileList在接口中FileService- 参数:
file- 查询条件searchVo- 搜索条件pageVo- 分页条件getCurrUser- 是否获取当前用户- 返回:
- 结果
-
trash
从接口复制的说明:FileService回收站操作- 指定者:
trash在接口中FileService- 参数:
id- 主键getCurrUser- 是否获取当前用户
-
collect
从接口复制的说明:FileService收藏- 指定者:
collect在接口中FileService- 参数:
id- 主键getCurrUser- 是否获取当前用户
-
rename
@CacheEvict(key="#id") public void rename(Long id, String newKey, String newTitle, Boolean getCurrUser) 从接口复制的说明:FileService重命名- 指定者:
rename在接口中FileService- 参数:
id- 主键newKey- 新keynewTitle- 新标题getCurrUser- 是否获取当前用户
-
copy
从接口复制的说明:FileService创建副本- 指定者:
copy在接口中FileService- 参数:
id- 主键getCurrUser- 是否获取当前用户
-
delete
从接口复制的说明:FileService删除- 指定者:
delete在接口中FileService- 参数:
ids- 主键数组getCurrUser- 是否获取当前用户
-
clearTrash
public void clearTrash()从接口复制的说明:FileService清空回收站- 指定者:
clearTrash在接口中FileService
-
deleteByCategoryId
从接口复制的说明:FileService通过categoryId删除- 指定者:
deleteByCategoryId在接口中FileService- 参数:
categoryId- 分类id
-