public interface ImageSDCardCacheDao
Modifier and Type | Method and Description |
---|---|
boolean |
deleteAndInsertImageSDCardCache(ImageSDCardCache imageSDCardCache,
java.lang.String tag)
delete all rows in db whose tag is same to tag at first, and insert all data in imageSDCardCache to db
Attentions:
If imageSDCardCache is null, do nothing
If tag is null or empty, do nothing
Will delete all rows in db whose tag is same to tag at first
|
boolean |
putIntoImageSDCardCache(ImageSDCardCache imageSDCardCache,
java.lang.String tag)
put all rows in db whose tag is same to tag to imageSDCardCache
Attentions:
If imageSDCardCache is null, do nothing
If tag is null or empty, do nothing
|
boolean putIntoImageSDCardCache(ImageSDCardCache imageSDCardCache, java.lang.String tag)
imageSDCardCache
- tag
- tag used to mark this cache when save to and load from db, should be unique and cannot be null or
emptyboolean deleteAndInsertImageSDCardCache(ImageSDCardCache imageSDCardCache, java.lang.String tag)
imageSDCardCache
-