public abstract class DaoHolder<T extends OEntity> extends Object implements Dao<T>
| 构造器和说明 |
|---|
DaoHolder() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
batchInsert(List<T> entities) |
long |
count() |
long |
count(Cnd<T> cnd) |
int |
delete(Cnd<T> cnd) |
int |
deleteById(Long id) |
int |
deleteByIds(List<Long> ids) |
void |
download(SelectTpl<T> tpl,
Cnd<T> cnd,
Consumer<T> consumer) |
T |
fetch(SelectTpl<T> tpl,
Cnd<T> cnd) |
Page<T> |
find(Cnd<T> cnd) |
List<T> |
findByIds(List<Long> ids) |
Page<T> |
findTpl(SelectTpl<T> tpl,
Cnd<T> cnd) |
T |
get(Long id) |
DaoHelper |
getDaoHelper() |
T |
insert(T entity) |
int |
recovery(Cnd<T> cnd) |
int |
remove(Cnd<T> cnd) |
int |
removeById(Long id) |
int |
removeByIds(List<Long> ids) |
void |
setDaoHelper(DaoHelper daoHelper) |
int |
update(T entity) |
int |
updateByTpl(UpdateTpl<T> tpl) |
int |
updateByTplCnd(UpdateTpl<T> tpl,
Cnd<T> cnd) |
int |
updateIgnoreNull(T entity) |
protected DaoHelper daoHelper
public DaoHelper getDaoHelper()
public void setDaoHelper(DaoHelper daoHelper)
public int updateIgnoreNull(T entity)
updateIgnoreNull 在接口中 Dao<T extends OEntity>public int updateByTplCnd(UpdateTpl<T> tpl, Cnd<T> cnd)
updateByTplCnd 在接口中 Dao<T extends OEntity>public int removeById(Long id)
removeById 在接口中 Dao<T extends OEntity>public int deleteById(Long id)
deleteById 在接口中 Dao<T extends OEntity>Copyright © 2018. All rights reserved.