use of info.xiancloud.dao.group.DaoGroup in project xian by happyyangyuan.
the class BaseDaoUnitProvider method provideExtraUnits.
@Override
public List<DaoUnit> provideExtraUnits() {
List<DaoUnit> baseDaoUnits = new ArrayList<>();
for (DaoGroup daoGroup : DaoGroup.groupList) {
baseDaoUnits.add(new BaseAddDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BaseDeleteByIdDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BaseDeleteDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BasePaginateDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BaseQueryByIdDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BaseQueryDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BaseUpdateByIdDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
baseDaoUnits.add(new BaseUpdateDB() {
@Override
public Group getGroup() {
return daoGroup;
}
});
}
return baseDaoUnits;
}