本文整理汇总了Java中de.greenrobot.dao.identityscope.IdentityScopeType类的典型用法代码示例。如果您正苦于以下问题:Java IdentityScopeType类的具体用法?Java IdentityScopeType怎么用?Java IdentityScopeType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IdentityScopeType类属于de.greenrobot.dao.identityscope包,在下文中一共展示了IdentityScopeType类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
beanDaoConfig = daoConfigMap.get(BeanDao.class).clone();
beanDaoConfig.initIdentityScope(type);
conversationDaoConfig = daoConfigMap.get(ConversationDao.class).clone();
conversationDaoConfig.initIdentityScope(type);
userDaoConfig = daoConfigMap.get(UserDao.class).clone();
userDaoConfig.initIdentityScope(type);
schoolmateDaoConfig = daoConfigMap.get(SchoolmateDao.class).clone();
schoolmateDaoConfig.initIdentityScope(type);
beanDao = new BeanDao(beanDaoConfig, this);
conversationDao = new ConversationDao(conversationDaoConfig, this);
userDao = new UserDao(userDaoConfig, this);
schoolmateDao = new SchoolmateDao(schoolmateDaoConfig, this);
registerDao(Bean.class, beanDao);
registerDao(Conversation.class, conversationDao);
registerDao(User.class, userDao);
registerDao(Schoolmate.class, schoolmateDao);
}
示例2: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
appDataDaoConfig = daoConfigMap.get(AppDataDao.class).clone();
appDataDaoConfig.initIdentityScope(type);
historyDataDaoConfig = daoConfigMap.get(HistoryDataDao.class).clone();
historyDataDaoConfig.initIdentityScope(type);
mineDataDaoConfig = daoConfigMap.get(MineDataDao.class).clone();
mineDataDaoConfig.initIdentityScope(type);
appDataDao = new AppDataDao(appDataDaoConfig, this);
historyDataDao = new HistoryDataDao(historyDataDaoConfig, this);
mineDataDao = new MineDataDao(mineDataDaoConfig, this);
registerDao(AppData.class, appDataDao);
registerDao(HistoryData.class, historyDataDao);
registerDao(MineData.class, mineDataDao);
}
示例3: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
noteDaoConfig = daoConfigMap.get(NoteDao.class).clone();
noteDaoConfig.initIdentityScope(type);
tagDaoConfig = daoConfigMap.get(TagDao.class).clone();
tagDaoConfig.initIdentityScope(type);
noteDao = new NoteDao(noteDaoConfig, this);
tagDao = new TagDao(tagDaoConfig, this);
registerDao(Note.class, noteDao);
registerDao(Tag.class, tagDao);
}
示例4: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
//MEMBERS ITEM
restaurantImageDaoConfig = daoConfigMap.get(RestaurantImageDao.class).clone();
restaurantImageDaoConfig.initIdentityScope(type);
restaurantImageDao = new RestaurantImageDao(restaurantImageDaoConfig, this);
registerDao(RestaurantImage.class, restaurantImageDao);
//MEMBERS ITEM
photoItemDaoConfig = daoConfigMap.get(PhotoItemDao.class).clone();
photoItemDaoConfig.initIdentityScope(type);
photoItemDao = new PhotoItemDao(photoItemDaoConfig, this);
registerDao(PhotoItem.class, photoItemDao);
//TODO ADD HERE
}
示例5: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
userDaoConfig = daoConfigMap.get(UserDao.class).clone();
userDaoConfig.initIdentityScope(type);
userAuthDaoConfig = daoConfigMap.get(UserAuthDao.class).clone();
userAuthDaoConfig.initIdentityScope(type);
musicDaoConfig = daoConfigMap.get(MusicDao.class).clone();
musicDaoConfig.initIdentityScope(type);
userDao = new UserDao(userDaoConfig, this);
userAuthDao = new UserAuthDao(userAuthDaoConfig, this);
musicDao = new MusicDao(musicDaoConfig, this);
registerDao(User.class, userDao);
registerDao(UserAuth.class, userAuthDao);
registerDao(Music.class, musicDao);
}
示例6: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
operatorsDaoConfig = daoConfigMap.get(operatorsDao.class).clone();
operatorsDaoConfig.initIdentityScope(type);
alloperatorsDaoConfig = daoConfigMap.get(alloperatorsDao.class).clone();
alloperatorsDaoConfig.initIdentityScope(type);
operatorsDao = new operatorsDao(operatorsDaoConfig, this);
alloperatorsDao = new alloperatorsDao(alloperatorsDaoConfig, this);
registerDao(operators.class, operatorsDao);
registerDao(alloperators.class, alloperatorsDao);
}
示例7: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
configDaoConfig = daoConfigMap.get(ConfigDao.class).clone();
configDaoConfig.initIdentityScope(type);
parentDaoConfig = daoConfigMap.get(ParentDao.class).clone();
parentDaoConfig.initIdentityScope(type);
configDao = new ConfigDao(configDaoConfig, this);
parentDao = new ParentDao(parentDaoConfig, this);
registerDao(Config.class, configDao);
registerDao(Parent.class, parentDao);
}
示例8: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
htmlCacheDaoConfig = daoConfigMap.get(HtmlCacheDao.class).clone();
htmlCacheDaoConfig.initIdentityScope(type);
articleTypeDaoConfig = daoConfigMap.get(ArticleTypeDao.class).clone();
articleTypeDaoConfig.initIdentityScope(type);
articleItemCacheDaoConfig = daoConfigMap.get(ArticleItemCacheDao.class).clone();
articleItemCacheDaoConfig.initIdentityScope(type);
htmlCacheDao = new HtmlCacheDao(htmlCacheDaoConfig, this);
articleTypeDao = new ArticleTypeDao(articleTypeDaoConfig, this);
articleItemCacheDao = new ArticleItemCacheDao(articleItemCacheDaoConfig, this);
registerDao(HtmlCache.class, htmlCacheDao);
registerDao(ArticleType.class, articleTypeDao);
registerDao(ArticleItemCache.class, articleItemCacheDao);
}
示例9: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
htmlEntityDaoConfig = daoConfigMap.get(HtmlEntityDao.class).clone();
htmlEntityDaoConfig.initIdentityScope(type);
collectEntityDaoConfig = daoConfigMap.get(CollectEntityDao.class).clone();
collectEntityDaoConfig.initIdentityScope(type);
htmlEntityDao = new HtmlEntityDao(htmlEntityDaoConfig, this);
collectEntityDao = new CollectEntityDao(collectEntityDaoConfig, this);
registerDao(HtmlEntity.class, htmlEntityDao);
registerDao(CollectEntity.class, collectEntityDao);
}
示例10: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
resultEntityDaoConfig = daoConfigMap.get(ResultEntityDao.class).clone();
resultEntityDaoConfig.initIdentityScope(type);
channelEntityDaoConfig = daoConfigMap.get(ChannelEntityDao.class).clone();
channelEntityDaoConfig.initIdentityScope(type);
resultEntityDao = new ResultEntityDao(resultEntityDaoConfig, this);
channelEntityDao = new ChannelEntityDao(channelEntityDaoConfig, this);
registerDao(ResultEntity.class, resultEntityDao);
registerDao(ChannelEntity.class, channelEntityDao);
}
示例11: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
provinceDaoConfig = daoConfigMap.get(ProvinceDao.class).clone();
provinceDaoConfig.initIdentityScope(type);
cityDaoConfig = daoConfigMap.get(CityDao.class).clone();
cityDaoConfig.initIdentityScope(type);
districtDaoConfig = daoConfigMap.get(DistrictDao.class).clone();
districtDaoConfig.initIdentityScope(type);
provinceDao = new ProvinceDao(provinceDaoConfig, this);
cityDao = new CityDao(cityDaoConfig, this);
districtDao = new DistrictDao(districtDaoConfig, this);
registerDao(Province.class, provinceDao);
registerDao(City.class, cityDao);
registerDao(District.class, districtDao);
}
示例12: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
blackListDaoConfig = daoConfigMap.get(BlackListDao.class).clone();
blackListDaoConfig.initIdentityScope(type);
interceptListDaoConfig = daoConfigMap.get(InterceptListDao.class).clone();
interceptListDaoConfig.initIdentityScope(type);
blackListDao = new BlackListDao(blackListDaoConfig, this);
interceptListDao = new InterceptListDao(interceptListDaoConfig, this);
registerDao(BlackList.class, blackListDao);
registerDao(InterceptList.class, interceptListDao);
}
示例13: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
configDaoConfig = daoConfigMap.get(ConfigDao.class).clone();
configDaoConfig.initIdentityScope(type);
userActionDaoConfig = daoConfigMap.get(UserActionDao.class).clone();
userActionDaoConfig.initIdentityScope(type);
parentDaoConfig = daoConfigMap.get(ParentDao.class).clone();
parentDaoConfig.initIdentityScope(type);
configDao = new ConfigDao(configDaoConfig, this);
userActionDao = new UserActionDao(userActionDaoConfig, this);
parentDao = new ParentDao(parentDaoConfig, this);
registerDao(Config.class, configDao);
registerDao(UserAction.class, userActionDao);
registerDao(Parent.class, parentDao);
}
示例14: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type,
Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) {
super(db);
WordDaoConfig = daoConfigMap.get(WordDao.class).clone();
WordDaoConfig.initIdentityScope(type);
FavDaoConfig = daoConfigMap.get(FavDao.class).clone();
FavDaoConfig.initIdentityScope(type);
AntDaoConfig = daoConfigMap.get(AntDao.class).clone();
AntDaoConfig.initIdentityScope(type);
wordDao = new WordDao(WordDaoConfig, this);
favDao = new FavDao(FavDaoConfig, this);
antDao = new AntDao(AntDaoConfig, this);
registerDao(Word.class, wordDao);
registerDao(Favourite.class, favDao);
registerDao(Antonym.class, antDao);
}
示例15: DaoSession
import de.greenrobot.dao.identityscope.IdentityScopeType; //导入依赖的package包/类
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
daoConfigMap) {
super(db);
categoryDaoConfig = daoConfigMap.get(CategoryDao.class).clone();
categoryDaoConfig.initIdentityScope(type);
startPointDaoConfig = daoConfigMap.get(StartPointDao.class).clone();
startPointDaoConfig.initIdentityScope(type);
creatorDaoConfig = daoConfigMap.get(CreatorDao.class).clone();
creatorDaoConfig.initIdentityScope(type);
bikesParkingPoisDaoConfig = daoConfigMap.get(BikesParkingPoisDao.class).clone();
bikesParkingPoisDaoConfig.initIdentityScope(type);
categoryDao = new CategoryDao(categoryDaoConfig, this);
startPointDao = new StartPointDao(startPointDaoConfig, this);
creatorDao = new CreatorDao(creatorDaoConfig, this);
bikesParkingPoisDao = new BikesParkingPoisDao(bikesParkingPoisDaoConfig, this);
registerDao(Category.class, categoryDao);
registerDao(StartPoint.class, startPointDao);
registerDao(Creator.class, creatorDao);
registerDao(BikesParkingPois.class, bikesParkingPoisDao);
}