public static interface FileDownloadDatabase.Maintainer extends java.lang.Iterable<FileDownloadModel>
| Modifier and Type | Method and Description |
|---|---|
void |
changeFileDownloadModelId(int oldId,
FileDownloadModel modelWithNewId) |
void |
onFinishMaintain()
invoke this method when the operation for maintain is finished.
|
void |
onRefreshedValidData(FileDownloadModel model)
invoke this method when the
model is valid to save and has been refreshed. |
void |
onRemovedInvalidData(FileDownloadModel model)
invoke this method when the
model is invalid and has been removed. |
void onFinishMaintain()
void onRemovedInvalidData(FileDownloadModel model)
model is invalid and has been removed.model - the removed invalid model.void onRefreshedValidData(FileDownloadModel model)
model is valid to save and has been refreshed.model - the refreshed valid model.void changeFileDownloadModelId(int oldId,
FileDownloadModel modelWithNewId)