Class TrackingRecorderImpl
- 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 theAbstractTrackingRecorderImpl. Tracks Service-Layer-events.
-
-
Constructor Summary
Constructors Constructor Description TrackingRecorderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillConfigStatus(TrackingItem item, ConfigModel configModel)protected java.lang.StringgetKBKey(KBKey kb)voidrecordAddToCart(AbstractOrderEntryModel entry, CommerceCartParameter parameters)Records the event of add-to-cart for a configuration and notifies writersprotected TrackingItemrecordCartEvent(AbstractOrderEntryModel entry, CommerceCartParameter parameters, EventType event)protected voidrecordChangeValue(ConfigModel configModel, CsticValueDelta delta)voidrecordConfigurationStatus(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, java.lang.String baseProduct, java.lang.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-
Methods inherited from class de.hybris.platform.sap.productconfig.services.tracking.impl.AbstractTrackingRecorderImpl
createTrackingItem, fillItemKey, getSessionService, getWriters, isTrackingEnabled, notifyWriter, setSessionService, setTrackingEnabled, setWriters
-
-
-
-
Method Detail
-
recordCreateConfiguration
public void recordCreateConfiguration(ConfigModel configModel, KBKey kbKey)
Description copied from interface:TrackingRecorderRecords the event of create configuration and notifies writers- Specified by:
recordCreateConfigurationin interfaceTrackingRecorder- Parameters:
configModel- The created configuration modelkbKey- The knowledgebase from which the configuration has been created.
-
recordUpdateConfiguration
public void recordUpdateConfiguration(ConfigModel configModel)
Description copied from interface:TrackingRecorderRecords the event of update configuration and notifies writers- Specified by:
recordUpdateConfigurationin interfaceTrackingRecorder- 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:TrackingRecorderRecords the status of a configuration that is retrieved and notifies writers- Specified by:
recordConfigurationStatusin interfaceTrackingRecorder- Parameters:
configModel- The configuration model that has been retrieved from the configuration provider
-
recordCreateConfigurationForVariant
public void recordCreateConfigurationForVariant(ConfigModel configModel, java.lang.String baseProduct, java.lang.String variantProduct)
Description copied from interface:TrackingRecorderRecords the event of create configuration from a variant product and notifies writers- Specified by:
recordCreateConfigurationForVariantin interfaceTrackingRecorder- Parameters:
configModel- The created configuration modelbaseProduct- The product code of the base productvariantProduct- The product code of the variant product
-
recordCreateConfigurationFromExternalSource
public void recordCreateConfigurationFromExternalSource(ConfigModel configModel)
Description copied from interface:TrackingRecorderRecords the event of create configuration from an external configuration and notifies writers- Specified by:
recordCreateConfigurationFromExternalSourcein interfaceTrackingRecorder- Parameters:
configModel- The created configuration model
-
recordAddToCart
public void recordAddToCart(AbstractOrderEntryModel entry, CommerceCartParameter parameters)
Description copied from interface:TrackingRecorderRecords the event of add-to-cart for a configuration and notifies writers- Specified by:
recordAddToCartin interfaceTrackingRecorder- Parameters:
entry- The newly created cart entryparameters- 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:TrackingRecorderRecords the event of update cart entry for a configuration and notifies writers- Specified by:
recordUpdateCartEntryin interfaceTrackingRecorder- Parameters:
entry- The updated cart entryparameters- 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:TrackingRecorderRecords the event of delete cart entry for a configuration and notifies writers- Specified by:
recordDeleteCartEntryin interfaceTrackingRecorder- Parameters:
entry- The deleted cart entryparameters- 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 java.lang.String getKBKey(KBKey kb)
-
recordChangeValue
protected void recordChangeValue(ConfigModel configModel, CsticValueDelta delta)
-
fillConfigStatus
protected void fillConfigStatus(TrackingItem item, ConfigModel configModel)
-
-