Class ConsumedDestinationRemoveInterceptor
- java.lang.Object
-
- de.hybris.platform.apiregistryservices.interceptors.ConsumedDestinationRemoveInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor<ConsumedDestinationModel>
public class ConsumedDestinationRemoveInterceptor extends java.lang.Object implements RemoveInterceptor<ConsumedDestinationModel>
-
-
Constructor Summary
Constructors Constructor Description ConsumedDestinationRemoveInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientFactorygetClientFactory()protected EventServicegetEventService()voidonRemove(ConsumedDestinationModel consumedDestination, InterceptorContext ctx)Called in themodelService.removeAll()method.voidsetClientFactory(ClientFactory clientFactory)voidsetEventService(EventService eventService)
-
-
-
Method Detail
-
onRemove
public void onRemove(ConsumedDestinationModel consumedDestination, InterceptorContext ctx) throws InterceptorException
Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor<ConsumedDestinationModel>- Parameters:
consumedDestination- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
getClientFactory
protected ClientFactory getClientFactory()
-
setClientFactory
public void setClientFactory(ClientFactory clientFactory)
-
getEventService
protected EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
-