Interface TrackingRecorder
- All Known Implementing Classes:
TrackingRecorderImpl
public interface TrackingRecorder
Records events into the hybris session
-
Method Summary
Modifier and TypeMethodDescriptionvoidrecordAddToCart(AbstractOrderEntryModel entry, CommerceCartParameter parameters) Records the event of add-to-cart for a configuration and notifies writersvoidrecordConfigurationStatus(ConfigModel configModel) Records the status of a configuration that is retrieved and notifies writersvoidrecordCreateConfiguration(ConfigModel configModel, KBKey kbKey) Records the event of create configuration and notifies writersvoidrecordCreateConfigurationForVariant(ConfigModel configModel, String baseProduct, String variantProduct) Records the event of create configuration from a variant product and notifies writersvoidrecordCreateConfigurationFromExternalSource(ConfigModel configModel) Records the event of create configuration from an external configuration and notifies writersvoidrecordDeleteCartEntry(AbstractOrderEntryModel entry, CommerceCartParameter parameters) Records the event of delete cart entry for a configuration and notifies writersvoidrecordUpdateCartEntry(AbstractOrderEntryModel entry, CommerceCartParameter parameters) Records the event of update cart entry for a configuration and notifies writersvoidrecordUpdateConfiguration(ConfigModel configModel) Records the event of update configuration and notifies writers
-
Method Details
-
recordCreateConfiguration
Records the event of create configuration and notifies writers- Parameters:
configModel- The created configuration modelkbKey- The knowledgebase from which the configuration has been created.
-
recordUpdateConfiguration
Records the event of update configuration and notifies writers- Parameters:
configModel- The configuration model with the information which characteristic values were altered; not the updated configuration.
-
recordConfigurationStatus
Records the status of a configuration that is retrieved and notifies writers- Parameters:
configModel- The configuration model that has been retrieved from the configuration provider
-
recordCreateConfigurationForVariant
void recordCreateConfigurationForVariant(ConfigModel configModel, String baseProduct, String variantProduct) Records the event of create configuration from a variant product and notifies writers- Parameters:
configModel- The created configuration modelbaseProduct- The product code of the base productvariantProduct- The product code of the variant product
-
recordCreateConfigurationFromExternalSource
Records the event of create configuration from an external configuration and notifies writers- Parameters:
configModel- The created configuration model
-
recordAddToCart
Records the event of add-to-cart for a configuration and notifies writers- Parameters:
entry- The newly created cart entryparameters- Contains information about the surrounding cart and the configuration id and belongs to the @param entry
-
recordUpdateCartEntry
Records the event of update cart entry for a configuration and notifies writers- Parameters:
entry- The updated cart entryparameters- Contains information about the surrounding cart and the configuration id and belongs to the @param entry
-
recordDeleteCartEntry
Records the event of delete cart entry for a configuration and notifies writers- Parameters:
entry- The deleted cart entryparameters- Contains information about the surrounding cart and the configuration id and belongs to the @param entry
-