Class ConfigurationSaveListener

java.lang.Object
de.hybris.platform.sap.core.configuration.datahub.ConfigurationSaveListener
All Implemented Interfaces:
de.hybris.platform.tx.AfterSaveListener

public class ConfigurationSaveListener extends Object implements de.hybris.platform.tx.AfterSaveListener
This class handles the save events in order to create data hub configurations and to transfer them to the data hub.
  • Constructor Details

    • ConfigurationSaveListener

      public ConfigurationSaveListener()
  • Method Details

    • afterSave

      public void afterSave(Collection<de.hybris.platform.tx.AfterSaveEvent> events)
      Specified by:
      afterSave in interface de.hybris.platform.tx.AfterSaveListener
    • getItemModel

      protected ItemModel getItemModel(de.hybris.platform.core.PK pk)
      Get item model with the latest properties.
      Parameters:
      pk - primary key
      Returns:
      item model
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
    • setDataHubManager

      public void setDataHubManager(DataHubTransferConfigurationManager dataHubManager)
    • setDataHubTransferHandler

      public void setDataHubTransferHandler(DataHubTransferHandler dataHubTransferHandler)
      Injection setter for DataHubTransferHandler.
      Parameters:
      dataHubTransferHandler - the data hub transfer handler to set
    • setRemoveModelMap

      public void setRemoveModelMap(RemoveModelMap modelMap)
      Injection setter for RemoveModelMap.
      Parameters:
      modelMap - the modelmap of items which will be deleted to set
    • getDataHubPingService

      public DataHubPingService getDataHubPingService()
    • setDataHubPingService

      public void setDataHubPingService(DataHubPingService dataHubPingService)