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