Package cool.scx.ext.fss
Class FSSObjectService
UploadFileService
- Version:
- 0.3.6
- Author:
- scx567888
-
Field Summary
Fields inherited from class cool.scx.core.base.BaseModelService
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcountByHash(String fileHash) void根据 fssObjectID 进行删除 (同时还会删除物理文件, 如果引用为 0 的话)findByFSSObjectID(String fssObjectID) findByFSSObjectIDs(List<String> fssObjectIDs) findFSSObjectListByHash(String fileHash) 根据 hash 查找文件Methods inherited from class cool.scx.core.base.BaseModelService
add, add, add, add, buildGetSQL, buildGetSQLWithAlias, buildListSQL, buildListSQLWithAlias, count, count, dao, delete, delete, entityClass, find, find, find, find, find, find, find, find, find, get, get, get, get, update, update, update, update
-
Constructor Details
-
FSSObjectService
public FSSObjectService()
-
-
Method Details
-
findFSSObjectListByHash
根据 hash 查找文件- Parameters:
fileHash- hash 值- Returns:
- 找的的数据
-
countByHash
-
findByFSSObjectID
-
findByFSSObjectIDs
-
delete
根据 fssObjectID 进行删除 (同时还会删除物理文件, 如果引用为 0 的话)- Parameters:
fssObjectID- f- Throws:
IOException- f
-