|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WatchedFileDAO
Interface for accessing watched files
Method Summary | |
---|---|
long |
getTotalFilesWatched()
Returns the total number of files watched |
WatchedFile |
getWatchedFileById(java.lang.Long fileId)
Gets a watched file by ID |
java.util.List<WatchedFile> |
getWatchedFilesByFolderPaged(java.lang.Long folderId,
int filesPerPage,
int page)
Returns the files associated with the given folder using paging |
void |
saveWatchedFile(WatchedFile file)
Saves the given watched file |
Method Detail |
---|
WatchedFile getWatchedFileById(java.lang.Long fileId)
fileId
- the watched file ID
void saveWatchedFile(WatchedFile file)
file
- the watched file to be savedlong getTotalFilesWatched()
java.util.List<WatchedFile> getWatchedFilesByFolderPaged(java.lang.Long folderId, int filesPerPage, int page)
folderId
- the folder's idfilesPerPage
- the number of files per pagepage
- the page number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |