public interface PersistentQueueDAO
| Modifier and Type | Method and Description |
|---|---|
void |
addDownloadToQueue(DownloadDetailsDTO download)
Adds the supplied download to the offline queue
|
List<DownloadDetailsDTO> |
getAllDownloads()
Returns a list of all the offline downloads in the order in which they were requested.
|
DownloadDetailsDTO |
getNextDownload()
Return the next offline download from the queue.
|
int |
getTotalDownloads()
Returns the total number of download that are on the queue
|
void |
refreshFromPersistent()
Refreshes the list from the persistent data store
|
void |
removeDownloadFromQueue(DownloadDetailsDTO download)
Removes the supplied download from the queue
|
void addDownloadToQueue(DownloadDetailsDTO download)
download - DownloadDetailsDTO getNextDownload()
int getTotalDownloads()
void removeDownloadFromQueue(DownloadDetailsDTO download)
download - List<DownloadDetailsDTO> getAllDownloads()
void refreshFromPersistent()
Copyright © 2014. All rights reserved.