Class RemoveExposedDestinationInterceptor
- java.lang.Object
-
- de.hybris.platform.apiregistryservices.interceptors.RemoveExposedDestinationInterceptor
-
- All Implemented Interfaces:
Interceptor,RemoveInterceptor<ExposedDestinationModel>
public class RemoveExposedDestinationInterceptor extends java.lang.Object implements RemoveInterceptor<ExposedDestinationModel>
RemoveInterceptor for Exposed Destination. Prevents that exposed destinations which are already registered in a target system can be deleted.
-
-
Constructor Summary
Constructors Constructor Description RemoveExposedDestinationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRemove(ExposedDestinationModel exposedDestination, InterceptorContext ctx)Called in themodelService.removeAll()method.
-
-
-
Method Detail
-
onRemove
public void onRemove(ExposedDestinationModel exposedDestination, InterceptorContext ctx) throws InterceptorException
Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor<ExposedDestinationModel>- Parameters:
exposedDestination- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-
-