| 程序包 | 说明 |
|---|---|
| org.noear.wood | |
| org.noear.wood.cache | |
| org.noear.wood.utils | |
| org.noear.wood.wrap |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
IDataItem.forEach(Act2<String,Object> action) |
void |
DataItemBase.forEach(Act2<String,Object> callback) |
DataItem |
DbAccess.getDataItem(Act2<CacheUsing,DataItem> cacheCondition) |
DataItem |
IQuery.getDataItem(Act2<CacheUsing,DataItem> cacheCondition) |
DataList |
DbAccess.getDataList(Act2<CacheUsing,DataList> cacheCondition) |
DataList |
IQuery.getDataList(Act2<CacheUsing,DataList> cacheCondition) |
<T> T |
DbAccess.getItem(Class<T> cls,
Act2<CacheUsing,T> cacheCondition) |
<T> T |
IQuery.getItem(Class<T> cls,
Act2<CacheUsing,T> cacheCondition) |
<T> List<T> |
DbAccess.getList(Class<T> cls,
Act2<CacheUsing,List<T>> cacheCondition) |
<T> List<T> |
IQuery.getList(Class<T> cls,
Act2<CacheUsing,List<T>> cacheCondition) |
Variate |
DbAccess.getVariate(Act2<CacheUsing,Variate> cacheCondition) |
Variate |
IQuery.getVariate(Act2<CacheUsing,Variate> cacheCondition) |
<T> boolean |
DbTableQueryBase.insertList(Collection<T> valuesList,
Act2<T,DataItem> dataBuilder)
执行批量合并插入,使用集合数据(由dataBuilder构建数据)
|
static void |
WoodConfig.onException(Act2<Command,Throwable> listener)
出现异常时
|
static void |
WoodConfig.onExecuteStm(Act2<Command,Statement> listener)
执行之中
|
<T> int[] |
DbTableQueryBase.updateList(Collection<T> valuesList,
Act2<T,DataItem> dataBuilder,
String conditionFields)
执行批量合并插入,使用集合数据(由dataBuilder构建数据)
|
int[] |
BaseMapper.updateList(List<T> list,
Act2<T,DataItem> dataBuilder,
Property<T,?>... conditionFields) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> CacheUsing |
CacheUsing.usingCache(Act2<CacheUsing,T> condition) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
EntityUtils.fromEntity(Object obj,
Act2<String,Object> setter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ClassWrap.fromEntity(Object obj,
Act2<String,Object> setter) |
Copyright © 2023. All rights reserved.