Class CxScriptMapperInterceptor

java.lang.Object
de.hybris.platform.personalizationyprofile.interceptor.CxScriptMapperInterceptor
All Implemented Interfaces:
Interceptor, RemoveInterceptor<CxMapperScriptModel>, ValidateInterceptor<CxMapperScriptModel>

public class CxScriptMapperInterceptor extends Object implements RemoveInterceptor<CxMapperScriptModel>, ValidateInterceptor<CxMapperScriptModel>
Interceptor called when CxScriptMapper model is created, edited or removed.
CxScriptMapper has 'requiredField' attribute which is used by ConsumptionLayerUserSegmentsProvider to build fields parameter for profile service.
This interceptor reset fields for ConsumptionLayerUserSegmentsProvider to make it build fields again.