B
- Bean typeO
- Actual operation typepublic interface BeanBulkUpdateOperation<B,O extends BeanBulkUpdateOperation<B,O>> extends BeanDatastoreOperation<O,BulkUpdateOperationConfiguration>, QueryFilter.QueryFilterSupport<O>
UPDATE
bean DatastoreOperation
configuration.Modifier and Type | Method and Description |
---|---|
default <T> O |
set(Path<T> path,
T value)
Set given
path to given constant value. |
<T> O |
set(Path<T> path,
TypedExpression<? super T> expression)
Set given
path to given expression value. |
O |
set(String propertyName,
Object value)
Set the bean property with given
propertyName to given value. |
default <P> O |
setNull(Path<P> path)
Set the given
Path to null value. |
O |
setNull(String propertyName)
Set the bean property with given
propertyName to null value. |
getConfiguration
withExpressionResolvers, withWriteOption, withWriteOptions, withWriteOptions
withExpressionResolver
filter, filter, filter
O set(String propertyName, Object value)
propertyName
to given value.
The bean property name must be present in bean property set and the value type must be compatible with property type.
propertyName
- Bean property name (not null)value
- The value to setTypeMismatchException
- If given value is not compatible with property valueProperty.PropertyNotFoundException
- If given property name is not part of the bean property setO setNull(String propertyName)
propertyName
to null
value.
The bean property name must be present in bean property set.
propertyName
- Bean property name (not null)Property.PropertyNotFoundException
- If given property name is not part of the bean property set<T> O set(Path<T> path, TypedExpression<? super T> expression)
path
to given expression
value.T
- Path typepath
- Path to be updated (not null)expression
- Expression value to set (not null)setNull(Path)
default <T> O set(Path<T> path, T value)
path
to given constant value.T
- Path typepath
- Path to be updated (not null)value
- value to setsetNull(Path)
Copyright © 2018 The Holon Platform. All rights reserved.