java.lang.Object
de.hybris.platform.sap.productconfig.services.tracking.impl.AbstractTrackingRecorderImpl
de.hybris.platform.sap.productconfig.services.tracking.impl.TrackingRecorderImpl
All Implemented Interfaces:
TrackingRecorder

public class TrackingRecorderImpl extends AbstractTrackingRecorderImpl implements TrackingRecorder
Service-Layer implementation of the AbstractTrackingRecorderImpl. Tracks Service-Layer-events.
  • Constructor Details

    • TrackingRecorderImpl

      public TrackingRecorderImpl()
  • Method Details

    • recordCreateConfiguration

      public void recordCreateConfiguration(ConfigModel configModel, KBKey kbKey)
      Description copied from interface: TrackingRecorder
      Records the event of create configuration and notifies writers
      Specified by:
      recordCreateConfiguration in interface TrackingRecorder
      Parameters:
      configModel - The created configuration model
      kbKey - The knowledgebase from which the configuration has been created.
    • recordUpdateConfiguration

      public void recordUpdateConfiguration(ConfigModel configModel)
      Description copied from interface: TrackingRecorder
      Records the event of update configuration and notifies writers
      Specified by:
      recordUpdateConfiguration in interface TrackingRecorder
      Parameters:
      configModel - The configuration model with the information which characteristic values were altered; not the updated configuration.
    • recordConfigurationStatus

      public void recordConfigurationStatus(ConfigModel configModel)
      Description copied from interface: TrackingRecorder
      Records the status of a configuration that is retrieved and notifies writers
      Specified by:
      recordConfigurationStatus in interface TrackingRecorder
      Parameters:
      configModel - The configuration model that has been retrieved from the configuration provider
    • recordCreateConfigurationForVariant

      public void recordCreateConfigurationForVariant(ConfigModel configModel, String baseProduct, String variantProduct)
      Description copied from interface: TrackingRecorder
      Records the event of create configuration from a variant product and notifies writers
      Specified by:
      recordCreateConfigurationForVariant in interface TrackingRecorder
      Parameters:
      configModel - The created configuration model
      baseProduct - The product code of the base product
      variantProduct - The product code of the variant product
    • recordCreateConfigurationFromExternalSource

      public void recordCreateConfigurationFromExternalSource(ConfigModel configModel)
      Description copied from interface: TrackingRecorder
      Records the event of create configuration from an external configuration and notifies writers
      Specified by:
      recordCreateConfigurationFromExternalSource in interface TrackingRecorder
      Parameters:
      configModel - The created configuration model
    • recordAddToCart

      public void recordAddToCart(AbstractOrderEntryModel entry, CommerceCartParameter parameters)
      Description copied from interface: TrackingRecorder
      Records the event of add-to-cart for a configuration and notifies writers
      Specified by:
      recordAddToCart in interface TrackingRecorder
      Parameters:
      entry - The newly created cart entry
      parameters - Contains information about the surrounding cart and the configuration id and belongs to the @param entry
    • recordUpdateCartEntry

      public void recordUpdateCartEntry(AbstractOrderEntryModel entry, CommerceCartParameter parameters)
      Description copied from interface: TrackingRecorder
      Records the event of update cart entry for a configuration and notifies writers
      Specified by:
      recordUpdateCartEntry in interface TrackingRecorder
      Parameters:
      entry - The updated cart entry
      parameters - Contains information about the surrounding cart and the configuration id and belongs to the @param entry
    • recordDeleteCartEntry

      public void recordDeleteCartEntry(AbstractOrderEntryModel entry, CommerceCartParameter parameters)
      Description copied from interface: TrackingRecorder
      Records the event of delete cart entry for a configuration and notifies writers
      Specified by:
      recordDeleteCartEntry in interface TrackingRecorder
      Parameters:
      entry - The deleted cart entry
      parameters - Contains information about the surrounding cart and the configuration id and belongs to the @param entry
    • recordCartEvent

      protected TrackingItem recordCartEvent(AbstractOrderEntryModel entry, CommerceCartParameter parameters, EventType event)
    • getKBKey

      protected String getKBKey(KBKey kb)
    • recordChangeValue

      protected void recordChangeValue(ConfigModel configModel, CsticValueDelta delta)
    • fillConfigStatus

      protected void fillConfigStatus(TrackingItem item, ConfigModel configModel)