public interface IBaseService<T> extends IServiceChangedListener<T>, ISQLService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChangeListener(IChangeListener listener) |
void |
addDefaultListener(IDefaultListener listener) |
void |
addORMListener(IORMListener listener) |
int |
count(Express... expresses)
已过时。
|
int |
count(Expression... expressions) |
void |
createOrUpdate() |
boolean |
delete(Object object) |
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 object) |
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 query) |
<S> List<S> |
query(IQuery q,
int size) |
<S> List<S> |
query(IQuery q,
int offset,
int size) |
int |
queryCount(IQuery query) |
<S> Pageable<S> |
queryPage(IQuery query,
Pageable page) |
void |
removeChangeListener(IChangeListener listener) |
void |
removeDefaultListener(IDefaultListener listener) |
void |
removeORMListener(IORMListener listener) |
boolean |
save(T t) |
boolean |
saveWithoutListener(T t) |
void |
setDataSourceManager(DataSourceManager dataSourceManager) |
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) |
changedbatchSaves, 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, tablesvoid setDataSourceManager(DataSourceManager dataSourceManager)
setDataSourceManager 在接口中 ISQLServicevoid addDefaultListener(IDefaultListener listener)
void removeDefaultListener(IDefaultListener listener)
void addChangeListener(IChangeListener listener)
void removeChangeListener(IChangeListener listener)
void addORMListener(IORMListener listener)
void removeORMListener(IORMListener listener)
<S> S get(Object object)
boolean save(T t)
boolean saveWithoutListener(T t)
boolean update(T t)
boolean updateWithoutListener(T t)
boolean update(T t, boolean updateNull)
boolean updateWithoutListener(T t, boolean updateNull)
boolean updates(T t, Expression... expressions)
boolean updatesWithoutListener(T t, Expression... expressions)
@Deprecated boolean updates(T t, Express... expresses)
@Deprecated boolean updatesWithoutListener(T t, Express... expresses)
boolean updatesNull(T t, Expression... expressions)
boolean updatesNullWithoutListener(T t, Expression... expressions)
boolean updatesNull(T t, String[] forNullColumns, Expression... expressions)
boolean updatesNullWithoutListener(T t, String[] forNullColumns, Expression... expressions)
@Deprecated boolean updatesNull(T t, Express... expresses)
@Deprecated boolean updatesNullWithoutListener(T t, Express... expresses)
@Deprecated boolean updatesNull(T t, String[] forNullColumns, Express... expresses)
@Deprecated boolean updatesNullWithoutListener(T t, String[] forNullColumns, Express... expresses)
boolean updatesWithoutListener(Expression[] values, Expression[] conditions)
@Deprecated boolean updatesWithoutListener(Express[] values, Express[] conditions)
boolean updatesNullWithoutListener(T t, String[] forNullColumns, Condition condition)
boolean delete(Object object)
boolean deleteWithoutListener(Object object)
boolean deletes(Condition condition)
boolean deletesWithoutListener(Condition condition)
boolean deletes(Expression... expressions)
boolean deletesWithoutListener(Expression... expressions)
@Deprecated boolean deletes(Express... expresses)
@Deprecated boolean deletesWithoutListener(Express... expresses)
int count(Expression... expressions)
@Deprecated int count(Express... expresses)
boolean exists(Condition condition)
boolean exists(Expression... expressions)
@Deprecated boolean exists(Express... expresses)
List<T> list(Expression... expressions)
@Deprecated List<T> list(Express... expresses)
List<T> list(Condition condition, MultiOrder multiOrder)
List<T> list(Condition condition, MultiOrder multiOrder, Integer limit)
List<T> list(Names names, Condition condition, MultiOrder multiOrder)
int queryCount(IQuery query)
String tableName() throws ORMException
ORMExceptionvoid createOrUpdate()
throws ORMException
ORMExceptionCopyright © 2021. All rights reserved.