public class OperateTemplate extends Object
Crane4jTemplate| 限定符和类型 | 字段和说明 |
|---|---|
protected BeanOperationParser |
defaultParser
Default configuration parser will be used when no parser is specified.
|
| 构造器和说明 |
|---|
OperateTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(Collection<?> targets,
Class<?> targetType)
Execute the fill operation.
|
void |
execute(Collection<?> targets,
Class<?> targetType,
BeanOperationParser parser,
BeanOperationExecutor executor,
Predicate<? super KeyTriggerOperation> filter)
Execute the fill operation.
|
void |
execute(Object target)
Execute the fill operation.
|
void |
execute(Object target,
BeanOperationExecutor executor,
Predicate<? super KeyTriggerOperation> filter)
Execute the fill operation.
|
void |
execute(Object target,
BeanOperations beanOperations)
Execute the fill operation.
|
void |
execute(Object target,
BeanOperations beanOperations,
Predicate<? super KeyTriggerOperation> filter)
Execute the fill operation.
|
void |
execute(Object target,
Predicate<? super KeyTriggerOperation> filter)
Execute the fill operation.
|
void |
executeIfMatchAllGroups(Object target,
String... groups)
If the operation belongs to all groups in
groups, execute the operation. |
void |
executeIfMatchAnyGroups(Object target,
String... groups)
If the operation belongs to any group in
groups, execute the operation. |
void |
executeIfNoneMatchAnyGroups(Object target,
String... groups)
If the operation does not belong to any group in
groups, execute the operation. |
protected final BeanOperationParser defaultParser
public void executeIfMatchAnyGroups(Object target, String... groups)
groups, execute the operation.target - targetgroups - groupsGrouped.anyMatch(java.lang.String...)public void executeIfNoneMatchAnyGroups(Object target, String... groups)
groups, execute the operation.target - targetgroups - groupsGrouped.anyMatch(java.lang.String...)public void executeIfMatchAllGroups(Object target, String... groups)
groups, execute the operation.target - targetgroups - groupsGrouped.allMatch(java.lang.String...)public void execute(Object target)
target - targetpublic void execute(Object target, BeanOperations beanOperations)
target - targetbeanOperations - bean operationspublic void execute(Object target, BeanOperations beanOperations, Predicate<? super KeyTriggerOperation> filter)
target - targetbeanOperations - bean operationspublic void execute(Object target, Predicate<? super KeyTriggerOperation> filter)
target - targetfilter - filterpublic void execute(Object target, BeanOperationExecutor executor, Predicate<? super KeyTriggerOperation> filter)
target - targetexecutor - executorfilter - filterpublic void execute(Collection<?> targets, Class<?> targetType)
targets - targetstargetType - target typepublic void execute(Collection<?> targets, Class<?> targetType, BeanOperationParser parser, BeanOperationExecutor executor, Predicate<? super KeyTriggerOperation> filter)
targets - targetsparser - parserexecutor - executorfilter - filterCopyright © 2024. All rights reserved.