public class ImageSDCardCacheDaoImpl extends Object implements ImageSDCardCacheDao
| 构造器和说明 |
|---|
ImageSDCardCacheDaoImpl(SqliteUtils sqliteUtils) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
deleteAndInsertImageSDCardCache(ImageSDCardCache imageSDCardCache,
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,
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
|
public ImageSDCardCacheDaoImpl(SqliteUtils sqliteUtils)
public boolean putIntoImageSDCardCache(ImageSDCardCache imageSDCardCache, String tag)
ImageSDCardCacheDaoputIntoImageSDCardCache 在接口中 ImageSDCardCacheDaotag - tag used to mark this cache when save to and load from db, should be unique and cannot be null or
emptypublic boolean deleteAndInsertImageSDCardCache(ImageSDCardCache imageSDCardCache, String tag)
ImageSDCardCacheDaodeleteAndInsertImageSDCardCache 在接口中 ImageSDCardCacheDaoCopyright © 2012-2014. All Rights Reserved.