public class BTGExpressionInterceptor extends java.lang.Object implements PrepareInterceptor
| Constructor and Description |
|---|
BTGExpressionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected ModelService |
getModelService(InterceptorContext ctx) |
void |
onPrepare(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
protected void |
removeOldOperands(java.util.List<BTGOperandModel> operandsToRemove,
InterceptorContext ctx) |
public void onPrepare(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationprotected void removeOldOperands(java.util.List<BTGOperandModel> operandsToRemove, InterceptorContext ctx)
protected ModelService getModelService(InterceptorContext ctx)
Copyright © 2018 SAP SE. All Rights Reserved.