public abstract class BaseServiceImpl<T> extends SQLServiceImpl implements IBaseService<T>, org.springframework.beans.factory.BeanFactoryAware
dataSourceManager, resultSetHandler, serviceClass, thisClass| 限定符 | 构造器和说明 |
|---|---|
protected |
BaseServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChangedListener(IChangedListener listener) |
void |
addChangeListener(IChangeListener listener) |
void |
addDefaultListener(IDefaultListener listener) |
void |
addORMListener(IORMListener listener) |
void |
addQueryListener(IQueryListener listener) |
void |
changed(T original,
T current) |
int |
count(Express... expresses)
已过时。
|
int |
count(Expression... expressions) |
void |
createOrUpdate() |
boolean |
delete(Object t) |
boolean |
deletes(Condition condition) |
boolean |
deletes(Express... expresses)
已过时。
|
boolean |
deletes(Expression... expressions) |
boolean |
deletesWithoutListener(Condition condition) |
boolean |
deletesWithoutListener(Express... expresses)
已过时。
|
boolean |
deletesWithoutListener(Expression... expressions) |
boolean |
deleteWithoutListener(Object object) |
boolean |
exists(Condition condition) |
boolean |
exists(Express... expresses)
已过时。
|
boolean |
exists(Expression... expressions) |
<S> S |
get(Object t) |
List<T> |
list() |
List<T> |
list(Condition condition) |
List<T> |
list(Condition condition,
MultiOrder multiOrder) |
List<T> |
list(Condition condition,
MultiOrder multiOrder,
Integer limit) |
List<T> |
list(Express... expresses)
已过时。
|
List<T> |
list(Expression... expressions) |
List<T> |
list(int start,
int size) |
List<T> |
list(Names names,
Condition condition) |
List<T> |
list(Names names,
Condition condition,
MultiOrder multiOrder) |
List<T> |
list(Names names,
Condition condition,
MultiOrder multiOrder,
Integer limit) |
List<T> |
listNames(String... names) |
<S> List<S> |
query(IQuery q) |
<S> List<S> |
query(IQuery q,
int size) |
<S> List<S> |
query(IQuery q,
int offset,
int size) |
int |
queryCount(IQuery q) |
<S> Pageable<S> |
queryPage(IQuery query,
Pageable page) |
void |
removeChangedListener(IChangedListener listener) |
void |
removeChangeListener(IChangeListener listener) |
void |
removeDefaultListener(IDefaultListener listener) |
void |
removeORMListener(IORMListener listener) |
void |
removeQueryListener(IQueryListener listener) |
boolean |
save(T t) |
boolean |
saveWithoutListener(T t) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
String |
tableName() |
boolean |
update(T t) |
boolean |
update(T t,
boolean updateNull) |
boolean |
updateNull(T t,
String... forNullColumns) |
boolean |
updateNullWithoutListener(T t,
String... forNullColumns) |
boolean |
updates(T t,
Condition condition) |
boolean |
updates(T t,
Express... expresses)
已过时。
|
boolean |
updates(T t,
Expression... expressions) |
boolean |
updatesNull(T t,
Condition condition) |
boolean |
updatesNull(T t,
Express... expresses)
已过时。
|
boolean |
updatesNull(T t,
Expression... expressions) |
boolean |
updatesNull(T t,
String[] forNullColumns,
Condition condition) |
boolean |
updatesNull(T t,
String[] forNullColumns,
Express... expresses)
已过时。
|
boolean |
updatesNull(T t,
String[] forNullColumns,
Expression... expressions) |
boolean |
updatesNullWithoutListener(T t,
Condition condition) |
boolean |
updatesNullWithoutListener(T t,
Express... expresses)
已过时。
|
boolean |
updatesNullWithoutListener(T t,
Expression... expressions) |
boolean |
updatesNullWithoutListener(T t,
String[] forNullColumns,
Condition condition) |
boolean |
updatesNullWithoutListener(T t,
String[] forNullColumns,
Express... expresses)
已过时。
|
boolean |
updatesNullWithoutListener(T t,
String[] forNullColumns,
Expression... expressions) |
boolean |
updatesWithoutListener(Express[] values,
Express[] conditions)
已过时。
|
boolean |
updatesWithoutListener(Expression[] values,
Expression[] conditions) |
boolean |
updatesWithoutListener(T t,
Condition condition) |
boolean |
updatesWithoutListener(T t,
Express... expresses)
已过时。
|
boolean |
updatesWithoutListener(T t,
Expression... expressions) |
boolean |
updateWithoutListener(T t) |
boolean |
updateWithoutListener(T t,
boolean updateNull) |
batchSaves, batchSaves, batchSaves, batchSaves, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, changeDataSource, closeConnection, columns, createOrUpdate, currentDatabaseName, currentDatabaseType, execute, executeBatch, executeBatch, getConnection, getDatabaseDateTime, getDatabaseNanoTime, getDataSource, getDataSourceManager, getOptions, getResultSetHandler, getTableName, queryCount, queryMap, queryMapList, queryObject, queryObjectList, queryResult, setDataSourceManager, setResultSetHandler, table, table, tableColumns, tableColumnsClass, tableExists, tables, tablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDataSourceManagerbatchSaves, batchSaves, batchSaves, batchSaves, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, changeDataSource, columns, createOrUpdate, currentDatabaseName, currentDatabaseType, execute, executeBatch, executeBatch, getConnection, getDatabaseDateTime, getDatabaseNanoTime, getDataSource, getDataSourceManager, getOptions, getTableName, queryCount, queryMap, queryMapList, queryObject, queryObjectList, queryResult, table, table, tableColumns, tableColumnsClass, tableExists, tables, tablespublic void addDefaultListener(IDefaultListener listener)
addDefaultListener 在接口中 IBaseService<T>public void removeDefaultListener(IDefaultListener listener)
removeDefaultListener 在接口中 IBaseService<T>public void addChangeListener(IChangeListener listener)
addChangeListener 在接口中 IBaseService<T>public void removeChangeListener(IChangeListener listener)
removeChangeListener 在接口中 IBaseService<T>public void addChangedListener(IChangedListener listener)
public void removeChangedListener(IChangedListener listener)
public void addORMListener(IORMListener listener)
addORMListener 在接口中 IBaseService<T>public void removeORMListener(IORMListener listener)
removeORMListener 在接口中 IBaseService<T>public void addQueryListener(IQueryListener listener)
public void removeQueryListener(IQueryListener listener)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void changed(T original, T current)
changed 在接口中 IServiceChangedListener<T>public boolean save(T t)
save 在接口中 IBaseService<T>public boolean saveWithoutListener(T t)
saveWithoutListener 在接口中 IBaseService<T>public boolean update(T t)
update 在接口中 IBaseService<T>public boolean updateWithoutListener(T t)
updateWithoutListener 在接口中 IBaseService<T>public boolean updateWithoutListener(T t, boolean updateNull)
updateWithoutListener 在接口中 IBaseService<T>public boolean update(T t, boolean updateNull)
update 在接口中 IBaseService<T>public boolean updateNull(T t, String... forNullColumns)
updateNull 在接口中 IBaseService<T>public boolean updateNullWithoutListener(T t, String... forNullColumns)
updateNullWithoutListener 在接口中 IBaseService<T>public boolean updates(T t, Expression... expressions)
updates 在接口中 IBaseService<T>public boolean updatesWithoutListener(T t, Expression... expressions)
updatesWithoutListener 在接口中 IBaseService<T>public boolean updatesNull(T t, Expression... expressions)
updatesNull 在接口中 IBaseService<T>public boolean updatesNullWithoutListener(T t, Expression... expressions)
updatesNullWithoutListener 在接口中 IBaseService<T>public boolean updatesNull(T t, String[] forNullColumns, Expression... expressions)
updatesNull 在接口中 IBaseService<T>public boolean updatesNullWithoutListener(T t, String[] forNullColumns, Expression... expressions)
updatesNullWithoutListener 在接口中 IBaseService<T>@Deprecated public boolean updates(T t, Express... expresses)
updates 在接口中 IBaseService<T>@Deprecated public boolean updatesWithoutListener(T t, Express... expresses)
updatesWithoutListener 在接口中 IBaseService<T>@Deprecated public boolean updatesNull(T t, Express... expresses)
updatesNull 在接口中 IBaseService<T>@Deprecated public boolean updatesNullWithoutListener(T t, Express... expresses)
updatesNullWithoutListener 在接口中 IBaseService<T>@Deprecated public boolean updatesNull(T t, String[] forNullColumns, Express... expresses)
updatesNull 在接口中 IBaseService<T>@Deprecated public boolean updatesNullWithoutListener(T t, String[] forNullColumns, Express... expresses)
updatesNullWithoutListener 在接口中 IBaseService<T>public boolean updates(T t, Condition condition)
updates 在接口中 IBaseService<T>public boolean updatesWithoutListener(T t, Condition condition)
updatesWithoutListener 在接口中 IBaseService<T>public boolean updatesNull(T t, Condition condition)
updatesNull 在接口中 IBaseService<T>public boolean updatesNullWithoutListener(T t, Condition condition)
updatesNullWithoutListener 在接口中 IBaseService<T>public boolean updatesNull(T t, String[] forNullColumns, Condition condition)
updatesNull 在接口中 IBaseService<T>public boolean updatesNullWithoutListener(T t, String[] forNullColumns, Condition condition)
updatesNullWithoutListener 在接口中 IBaseService<T>@Deprecated public boolean updatesWithoutListener(Express[] values, Express[] conditions)
updatesWithoutListener 在接口中 IBaseService<T>public boolean updatesWithoutListener(Expression[] values, Expression[] conditions)
updatesWithoutListener 在接口中 IBaseService<T>public boolean delete(Object t)
delete 在接口中 IBaseService<T>public boolean deleteWithoutListener(Object object)
deleteWithoutListener 在接口中 IBaseService<T>public boolean deletes(Condition condition)
deletes 在接口中 IBaseService<T>public boolean deletesWithoutListener(Condition condition)
deletesWithoutListener 在接口中 IBaseService<T>public boolean deletes(Expression... expressions)
deletes 在接口中 IBaseService<T>public boolean deletesWithoutListener(Expression... expressions)
deletesWithoutListener 在接口中 IBaseService<T>@Deprecated public boolean deletes(Express... expresses)
deletes 在接口中 IBaseService<T>@Deprecated public boolean deletesWithoutListener(Express... expresses)
deletesWithoutListener 在接口中 IBaseService<T>public List<T> list()
list 在接口中 IBaseService<T>public List<T> list(int start, int size)
list 在接口中 IBaseService<T>@Deprecated public List<T> list(Express... expresses)
list 在接口中 IBaseService<T>public List<T> list(Expression... expressions)
list 在接口中 IBaseService<T>public List<T> list(Condition condition, MultiOrder multiOrder)
list 在接口中 IBaseService<T>public List<T> list(Condition condition, MultiOrder multiOrder, Integer limit)
list 在接口中 IBaseService<T>public List<T> list(Names names, Condition condition, MultiOrder multiOrder)
list 在接口中 IBaseService<T>public List<T> list(Names names, Condition condition, MultiOrder multiOrder, Integer limit)
list 在接口中 IBaseService<T>public boolean exists(Condition condition)
exists 在接口中 IBaseService<T>@Deprecated public boolean exists(Express... expresses)
exists 在接口中 IBaseService<T>public boolean exists(Expression... expressions)
exists 在接口中 IBaseService<T>@Deprecated public int count(Express... expresses)
count 在接口中 IBaseService<T>public int count(Expression... expressions)
count 在接口中 IBaseService<T>public <S> S get(Object t)
get 在接口中 IBaseService<T>public <S> List<S> query(IQuery q)
query 在接口中 IBaseService<T>public <S> List<S> query(IQuery q, int size)
query 在接口中 IBaseService<T>public <S> List<S> query(IQuery q, int offset, int size)
query 在接口中 IBaseService<T>public int queryCount(IQuery q)
queryCount 在接口中 IBaseService<T>public <S> Pageable<S> queryPage(IQuery query, Pageable page)
queryPage 在接口中 IBaseService<T>public String tableName() throws ORMException
tableName 在接口中 IBaseService<T>ORMExceptionpublic void createOrUpdate()
throws ORMException
createOrUpdate 在接口中 IBaseService<T>ORMExceptionCopyright © 2021. All rights reserved.