public class CxScriptMapperInterceptor extends java.lang.Object implements RemoveInterceptor<CxMapperScriptModel>, ValidateInterceptor<CxMapperScriptModel>
| Constructor and Description |
|---|
CxScriptMapperInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected ConsumptionLayerUserSegmentsProvider |
getConsumptionLayerUserSegmentsProvider() |
void |
onRemove(CxMapperScriptModel model,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
onValidate(CxMapperScriptModel model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setConsumptionLayerUserSegmentsProvider(ConsumptionLayerUserSegmentsProvider consumptionLayerUserSegmentsProvider) |
public void onRemove(CxMapperScriptModel model, InterceptorContext ctx) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptor<CxMapperScriptModel>model - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorpublic void onValidate(CxMapperScriptModel model, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<CxMapperScriptModel>model - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.protected ConsumptionLayerUserSegmentsProvider getConsumptionLayerUserSegmentsProvider()
public void setConsumptionLayerUserSegmentsProvider(ConsumptionLayerUserSegmentsProvider consumptionLayerUserSegmentsProvider)
Copyright © 2018 SAP SE. All Rights Reserved.