Class WebhookServicesAfterSaveEventListener

java.lang.Object
de.hybris.platform.webhookservices.event.WebhookServicesAfterSaveEventListener
All Implemented Interfaces:
AfterSaveListener

public class WebhookServicesAfterSaveEventListener extends Object implements AfterSaveListener
An AfterSaveEvent listener that converts the AfterSaveEvent to WebhookEvents before sending it to the EventSender
  • Constructor Details

  • Method Details

    • afterSave

      public void afterSave(Collection<AfterSaveEvent> events)
      Takes real action to deal with the AfterSaveEvents. Converts each AfterSaveEvent into WebhookEvents
      Specified by:
      afterSave in interface AfterSaveListener
      Parameters:
      events - A collection of AfterSaveEvent
    • setWebhookConfigurationService

      @Deprecated(since="2205", forRemoval=true) public void setWebhookConfigurationService(WebhookConfigurationService webhookConfigurationService)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 2205. No longer used.
      Sets the WebhookConfigurationService
      Parameters:
      webhookConfigurationService - WebhookConfigurationService to search for WebhookConfigurations
    • setModelService

      @Deprecated(since="2205", forRemoval=true) public void setModelService(ModelService modelService)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 2205. No longer used.
      Sets the ModelService
      Parameters:
      modelService - ModelService to search for items