Class Agentdesktopdataexchangeb2bCustomerModelRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.sap.agentdesktopdataexchangeb2b.interceptors.Agentdesktopdataexchangeb2bCustomerModelRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor
,RemoveInterceptor<B2BCustomerModel>
public class Agentdesktopdataexchangeb2bCustomerModelRemoveInterceptor extends java.lang.Object implements RemoveInterceptor<B2BCustomerModel>
-
-
Constructor Summary
Constructors Constructor Description Agentdesktopdataexchangeb2bCustomerModelRemoveInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationService
getConfigurationService()
EventService
getEventService()
void
onRemove(B2BCustomerModel model, InterceptorContext ctx)
Called in themodelService.removeAll()
method.void
setConfigurationService(ConfigurationService configurationService)
void
setEventService(EventService eventService)
-
-
-
Method Detail
-
getEventService
public EventService getEventService()
- Returns:
- the eventService
-
setEventService
public void setEventService(EventService eventService)
- Parameters:
eventService
- the eventService to set
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService
- the configurationService to set
-
onRemove
public void onRemove(B2BCustomerModel model, InterceptorContext ctx) throws InterceptorException
Description copied from interface:RemoveInterceptor
Called in themodelService.removeAll()
method.- Specified by:
onRemove
in interfaceRemoveInterceptor<B2BCustomerModel>
- Parameters:
model
- the model which should be removedctx
- theInterceptorContext
- Throws:
InterceptorException
- if the remove reports an error
-
-