public abstract class GeneralDaoImpl<T> extends Object implements GeneralDao<T>, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| 构造器和说明 |
|---|
GeneralDaoImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterInitialization() |
List<T> |
all() |
List<T> |
all(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer) |
protected String |
applyBootStrapBeanId()
Assin the BootStrap-Id pass override this method.
|
int |
count() |
boolean |
create() |
protected online.sanen.cdm.api.QuerySql |
createSQL(String sql,
Object... paramers) |
protected online.sanen.cdm.api.QuerySql |
createSQLForEntry(String sql,
Object... paramers) |
int |
delete(Object object) |
T |
find(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> conds) |
T |
find(Object primarykey) |
online.sanen.cdm.api.Bootstrap |
getBootStrap() |
String |
getDefaultTableName() |
Class<T> |
getEntry() |
protected online.sanen.cdm.api.Bootstrap |
initBootstrap() |
int |
insert(List<T> entrys) |
int |
insert(List<T> entrys,
String... exceptfields) |
int |
insert(T entry) |
int |
insert(T entry,
String... exceptfields) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
protected online.sanen.cdm.api.QueryMap |
queryMap(Map<String,Object> map) |
protected online.sanen.cdm.api.QueryTable |
queryTB() |
int |
update(List<T> entrys) |
int |
update(T entry) |
public final void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>protected void afterInitialization()
public int insert(List<T> entrys)
insert 在接口中 GeneralDao<T>public final int delete(Object object)
delete 在接口中 GeneralDao<T>public final int update(T entry)
update 在接口中 GeneralDao<T>public final int update(List<T> entrys)
update 在接口中 GeneralDao<T>public final T find(Object primarykey)
find 在接口中 GeneralDao<T>public T find(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> conds)
find 在接口中 GeneralDao<T>public final int insert(T entry)
insert 在接口中 GeneralDao<T>public int insert(T entry, String... exceptfields)
insert 在接口中 GeneralDao<T>public final List<T> all()
all 在接口中 GeneralDao<T>public List<T> all(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer)
all 在接口中 GeneralDao<T>public final int count()
count 在接口中 GeneralDao<T>public final String getDefaultTableName()
protected final online.sanen.cdm.api.QueryTable queryTB()
protected final online.sanen.cdm.api.QuerySql createSQLForEntry(String sql, Object... paramers)
protected online.sanen.cdm.api.Bootstrap initBootstrap()
protected String applyBootStrapBeanId()
public boolean create()
throws ReflectiveOperationException
create 在接口中 GeneralDao<T>ReflectiveOperationExceptionpublic online.sanen.cdm.api.Bootstrap getBootStrap()
getBootStrap 在接口中 GeneralDao<T>Copyright © 2019. All rights reserved.