Class UserRemoveInterceptor
java.lang.Object
de.hybris.platform.servicelayer.user.interceptors.UserRemoveInterceptor
- All Implemented Interfaces:
Interceptor,RemoveInterceptor
Interceptor for handling a remove of the
UserModel Throw a InterceptorException if there is a
assigned OrderModels for a given UserModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemove(Object model, InterceptorContext ctx) Called in themodelService.removeAll()method.
-
Constructor Details
-
UserRemoveInterceptor
public UserRemoveInterceptor()
-
-
Method Details
-
onRemove
Description copied from interface:RemoveInterceptorCalled in themodelService.removeAll()method.- Specified by:
onRemovein interfaceRemoveInterceptor- Parameters:
model- the model which should be removedctx- theInterceptorContext- Throws:
InterceptorException- if the remove reports an error
-