|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WatchedFolderDAO
Interface for accessing watched folders
Method Summary | |
---|---|
java.util.List<WatchedFile> |
addWatchedFilesToFolder(WatchedFolder watchedFolder,
java.util.List<java.lang.String> filePaths)
Add the given paths to the given watched folder |
void |
addWatchedFileToFolder(WatchedFolder watchedFolder,
java.lang.String filePath)
Add the given path to the given watched folder |
void |
deleteWatchedFolder(java.lang.Long folderId)
Delete the watched folder based on its id |
java.util.List<WatchedFolder> |
getAllWatchedFolders()
Returns the list of all watched folders |
WatchedFolder |
getWatchedFolderById(java.lang.Long folderId)
Gets a watched folder by ID |
void |
saveWatchedFolder(WatchedFolder watchedFolder)
Saves the given WatchedFolder |
Method Detail |
---|
java.util.List<WatchedFolder> getAllWatchedFolders()
void saveWatchedFolder(WatchedFolder watchedFolder)
watchedFolder
- the watched folder to be savedWatchedFolder getWatchedFolderById(java.lang.Long folderId)
folderId
- the watched folder ID
void addWatchedFileToFolder(WatchedFolder watchedFolder, java.lang.String filePath)
watchedFolder
- the watched folderfilePath
- the path to the watched filejava.util.List<WatchedFile> addWatchedFilesToFolder(WatchedFolder watchedFolder, java.util.List<java.lang.String> filePaths)
watchedFolder
- the watched folderfilePaths
- the paths to the watched file
void deleteWatchedFolder(java.lang.Long folderId)
folderId
- the watched folder ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |