Constructor and Description |
---|
FileDAO() |
Modifier and Type | Method and Description |
---|---|
FileList |
delete(UserIdentity authenticatedUser,
long[] fileIds) |
FileList |
getFiles(UserIdentity authenticatedUser,
long[] fileIds,
Limits limits) |
void |
save(File file) |
getTransactionTemplate, setDataSource, setTnxManager
public FileDAO()
public FileList delete(UserIdentity authenticatedUser, long[] fileIds)
authenticatedUser
- fileIds
- if null or empty, all files for the given user will be deletedpublic FileList getFiles(UserIdentity authenticatedUser, long[] fileIds, Limits limits)
authenticatedUser
- fileIds
- if null or empty, or users files will be returnedlimits
- optional limits parameter, if missing, all files will be returnedCopyright © 2015 Tampere University of Technology, Pori Department.