Class DefaultWebhookEventFactory
java.lang.Object
de.hybris.platform.webhookservices.event.impl.DefaultWebhookEventFactory
- All Implemented Interfaces:
WebhookEventFactory
Default implementation of
WebhookEventFactory to create list of WebhookEvent-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(AfterSaveEvent event) The method will create list ofWebhookEvents based onAfterSaveEventevent typevoidsetItemModelSearchService(ItemModelSearchService itemModelSearchService) voidsetRootItemSearchService(RootItemSearchService rootItemSearchService) voidsetWebhookConfigurationService(WebhookConfigurationService webhookConfigurationService)
-
Constructor Details
-
DefaultWebhookEventFactory
public DefaultWebhookEventFactory()
-
-
Method Details
-
create
Description copied from interface:WebhookEventFactoryThe method will create list ofWebhookEvents based onAfterSaveEventevent type- Specified by:
createin interfaceWebhookEventFactory- Parameters:
event-AfterSaveEventevent type- Returns:
WebhookEvents if event exists, otherwise empty list
-
setWebhookConfigurationService
-
setItemModelSearchService
-
setRootItemSearchService
-