public class BusinessDataJavaMethodOperationExecutorStrategy extends JavaMethodOperationExecutorStrategy
TYPE_JAVA_METHOD| Constructor and Description |
|---|
BusinessDataJavaMethodOperationExecutorStrategy(BusinessDataService businessDataService,
EntitiesActionsExecutor entitiesActionsExecutor,
MergeEntityAction mergeEntityAction) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
computeJavaOperation(SOperation operation,
java.lang.Object valueToSetObjectWith,
SExpressionContext expressionContext,
boolean shouldPersistValue) |
java.lang.Object |
computeNewValueForLeftOperand(SOperation operation,
java.lang.Object valueToSetObjectWith,
SExpressionContext expressionContext,
boolean shouldPersistValue)
Calculates the new value of the left operand base of right operand expression value
|
boolean |
shouldPersistOnNullValue()
Determines if the operation right value should be persisted when the value is evaluated to null.
|
extractMethodName, extractObjectToInvokeFromContext, extractParameterType, getOperationTypepublic BusinessDataJavaMethodOperationExecutorStrategy(BusinessDataService businessDataService, EntitiesActionsExecutor entitiesActionsExecutor, MergeEntityAction mergeEntityAction)
public java.lang.Object computeNewValueForLeftOperand(SOperation operation, java.lang.Object valueToSetObjectWith, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
OperationExecutorStrategycomputeNewValueForLeftOperand in interface OperationExecutorStrategycomputeNewValueForLeftOperand in class JavaMethodOperationExecutorStrategyoperation - the operation in progressvalueToSetObjectWith - result of the evaluation of right operand expressionexpressionContext - the expression contextshouldPersistValue - true if the right operand must be persisted (Business Data)SOperationExecutionExceptionprotected java.lang.Object computeJavaOperation(SOperation operation, java.lang.Object valueToSetObjectWith, SExpressionContext expressionContext, boolean shouldPersistValue) throws SOperationExecutionException
SOperationExecutionExceptionpublic boolean shouldPersistOnNullValue()
OperationExecutorStrategyshouldPersistOnNullValue in interface OperationExecutorStrategyshouldPersistOnNullValue in class JavaMethodOperationExecutorStrategy