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