Class RemoveExposedDestinationInterceptor
java.lang.Object
de.hybris.platform.apiregistryservices.interceptors.RemoveExposedDestinationInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor<ExposedDestinationModel>
public class RemoveExposedDestinationInterceptor
extends 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(ExposedDestinationModel exposedDestination, InterceptorContext ctx) Called in themodelService.removeAll()method.
-
Constructor Details
-
RemoveExposedDestinationInterceptor
public RemoveExposedDestinationInterceptor()
-
-
Method Details
-
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
-