Class FileItemDao
java.lang.Object
org.apache.openmeetings.db.dao.file.BaseFileItemDao
org.apache.openmeetings.db.dao.file.FileItemDao
- All Implemented Interfaces:
IDataProviderDao<BaseFileItem>
- Author:
- sebastianwagner
-
Field Summary
Fields inherited from class org.apache.openmeetings.db.dao.file.BaseFileItemDao
em -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidget()Get an instance of anIDataProviderDaoget(Collection<String> ids) getAllRoomFiles(String search, long start, long count, Long roomId, List<Group> groups) getByGroup(Long groupId) getByGroup(Long groupId, List<BaseFileItem.Type> filter) getByOwner(Long ownerId) getByParent(Long parentId) getByParent(Long parentId, List<BaseFileItem.Type> filter) getExternal(String externalType) longgetOwnSize(Long userId) longgetRoomSize(Long roomId) longlongmove(long id, long parentId, long ownerId, long roomId) Methods inherited from class org.apache.openmeetings.db.dao.file.BaseFileItemDao
count, count, delete, delete, get, get, get, getAny, getAny, getBase, update, updateBaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openmeetings.db.dao.IDataProviderDao
get
-
Constructor Details
-
FileItemDao
public FileItemDao()
-
-
Method Details
-
getByRoom
-
getByOwner
-
getByGroup
-
getByGroup
-
getByParent
-
getByParent
-
get
Description copied from interface:IDataProviderDaoGet an instance of anIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<BaseFileItem>- Overrides:
getin classBaseFileItemDao- Parameters:
id- - id of instance to retrieve- Returns:
- instance with the id gived
-
get
-
get
-
getExternal
-
delete
-
rename
- Parameters:
id- - id of file item to renamename- - new name- Returns:
- renamed item
-
update
-
move
- Parameters:
id- - id of file item to moveparentId- - id of parent itemownerId- - id of item ownerroomId- - id of room- Returns:
- moved item
-
getAllRoomFiles
-
get
-
getOwnSize
-
getRoomSize
-
getSize
-
getSize
-