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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
get()
Get an instance of anIDataProviderDao
get
(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) long
getOwnSize
(Long userId) long
getRoomSize
(Long roomId) long
long
move
(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, updateBase
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:IDataProviderDao
Get an instance of anIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<BaseFileItem>
- Overrides:
get
in 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
-