public abstract class GeneralServiceImple<T extends online.sanen.cdm.basic.BasicBean> extends Object implements GeneralService<T>
| 构造器和说明 |
|---|
GeneralServiceImple() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
all()
Gets the table all data
|
T |
find(Object primaryKey) |
T |
find(String fieldName,
Object value)
Search by field
|
protected abstract GeneralDao<T> |
getGeneralDao() |
int |
insert(T entry) |
Object |
maximumkey()
Gets the maximum of the primary key
|
int |
remove(Object primaryKey) |
int |
remove(String fieldName,
Object obj)
Remove by field
|
int |
totalNumber()
Gets the current table total
|
int |
update(T entry) |
public int insert(T entry)
insert 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>public int remove(Object primaryKey)
remove 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>public int update(T entry)
update 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>public T find(Object primaryKey)
find 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>public T find(String fieldName, Object value)
GeneralServicefind 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>fieldName - - field by table columnvalue - - valuepublic int remove(String fieldName, Object obj)
GeneralServiceremove 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>fieldName - - field by table columnobj - - valuepublic List<T> all()
GeneralServiceall 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>public Object maximumkey()
GeneralServicemaximumkey 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>public int totalNumber()
GeneralServicetotalNumber 在接口中 GeneralService<T extends online.sanen.cdm.basic.BasicBean>protected abstract GeneralDao<T> getGeneralDao()
Copyright © 2018. All rights reserved.