public class BusinessDataAssignmentStrategy extends Object implements OperationExecutorStrategy
| Constructor and Description |
|---|
BusinessDataAssignmentStrategy(EntitiesActionsExecutor actionsExecutor,
MergeEntityAction mergeEntityAction) |
| Modifier and Type | Method and Description |
|---|---|
Object |
computeNewValueForLeftOperand(SOperation operation,
Object value,
SExpressionContext expressionContext,
boolean shouldPersistValue)
Calculates the new value of the left operand base of right operand expression value
|
String |
getOperationType() |
boolean |
shouldPersistOnNullValue()
Determines if the operation right value should be persisted when the value is evaluated to null.
|
public BusinessDataAssignmentStrategy(EntitiesActionsExecutor actionsExecutor, MergeEntityAction mergeEntityAction)
public Object computeNewValueForLeftOperand(SOperation operation, Object value, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
OperationExecutorStrategycomputeNewValueForLeftOperand in interface OperationExecutorStrategyoperation - the operation in progressvalue - result of the evaluation of right operand expressionexpressionContext - the expression contextshouldPersistValue - true if the right operand must be persisted (Business Data)SOperationExecutionExceptionpublic String getOperationType()
getOperationType in interface OperationExecutorStrategypublic boolean shouldPersistOnNullValue()
OperationExecutorStrategyshouldPersistOnNullValue in interface OperationExecutorStrategyCopyright © 2018 Bonitasoft S.A.. All rights reserved.