@Repository @Transactional public class FileItemDao extends BaseFileItemDao
em| コンストラクタと説明 |
|---|
FileItemDao() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
delete(String externalId,
String externalType) |
List<FileItem> |
get() |
List<BaseFileItem> |
get(Collection<String> ids) |
FileItem |
get(Long id) |
FileItem |
get(String externalId,
String externalType) |
List<BaseFileItem> |
getAllRoomFiles(String search,
int start,
int count,
Long roomId,
List<Group> groups) |
List<FileItem> |
getByGroup(Long groupId) |
List<FileItem> |
getByGroup(Long groupId,
List<BaseFileItem.Type> filter) |
FileItem |
getByHash(String hash) |
List<FileItem> |
getByOwner(Long ownerId) |
List<FileItem> |
getByParent(Long parentId) |
List<FileItem> |
getByParent(Long parentId,
List<BaseFileItem.Type> filter) |
List<FileItem> |
getByRoom(Long roomId) |
long |
getOwnSize(Long userId) |
long |
getRoomSize(Long roomId) |
long |
getSize(FileItem f) |
long |
getSize(List<FileItem> list) |
FileItem |
move(long id,
long parentId,
long ownerId,
long roomId) |
FileItem |
rename(Long id,
String name) |
FileItem |
update(FileItem f) |
_update, delete, getpublic List<FileItem> getByGroup(Long groupId, List<BaseFileItem.Type> filter)
public List<FileItem> getByParent(Long parentId, List<BaseFileItem.Type> filter)
public FileItem get(Long id)
get クラス内 BaseFileItemDaopublic FileItem move(long id, long parentId, long ownerId, long roomId)
id - parentId - isOwner - roomId - public List<BaseFileItem> getAllRoomFiles(String search, int start, int count, Long roomId, List<Group> groups)
public List<BaseFileItem> get(Collection<String> ids)
public long getOwnSize(Long userId)
public long getRoomSize(Long roomId)
public long getSize(FileItem f)
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.