public abstract class GeneralServiceImple<T> extends Object implements GeneralService<T>
| 构造器和说明 |
|---|
GeneralServiceImple() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
all() |
List<T> |
all(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer) |
int |
count() |
boolean |
create() |
int |
delete(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer) |
int |
delete(Object primaryKey) |
T |
find(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer) |
T |
find(Object primaryKey) |
protected abstract GeneralDao<T> |
getGeneralDao() |
int |
insert(List<T> entrys) |
int |
insert(List<T> entrys,
String... exceptfields) |
int |
insert(T entry) |
int |
insert(T entry,
String... exceptfields) |
int |
update(List<T> entrys) |
int |
update(T entry) |
public int insert(T entry)
insert 在接口中 GeneralService<T>public int delete(Object primaryKey)
delete 在接口中 GeneralService<T>public int update(T entry)
update 在接口中 GeneralService<T>public T find(Object primaryKey)
find 在接口中 GeneralService<T>public List<T> all()
all 在接口中 GeneralService<T>public int insert(List<T> entrys)
insert 在接口中 GeneralService<T>public int update(List<T> entrys)
update 在接口中 GeneralService<T>public int insert(T entry, String... exceptfields)
insert 在接口中 GeneralService<T>public int delete(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer)
delete 在接口中 GeneralService<T>public T find(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer)
find 在接口中 GeneralService<T>public List<T> all(java.util.function.Consumer<List<online.sanen.cdm.api.condition.Condition>> consumer)
all 在接口中 GeneralService<T>public boolean create()
throws ReflectiveOperationException
create 在接口中 GeneralService<T>ReflectiveOperationExceptionpublic int count()
count 在接口中 GeneralService<T>protected abstract GeneralDao<T> getGeneralDao()
Copyright © 2019. All rights reserved.