com.ibm.commerce.marketingcenter.events.dbobjects

Class CpgnLogRecommendationEventListener

  • All Implemented Interfaces:
    com.ibm.commerce.event.WCSEventListener, ComponentConfiguration, java.util.EventListener

    Deprecated. 
    This class is used when campaign recommendation data is logged using the marketing event infrastructure. This support has been replaced by the business event infrastructure in the current release, there will not be a replacement for this class. Please refer to the instruction documented in com.ibm.commerce.marketingcenter.events.databeans.CampaignLoggingDataBean for more details. Event listener for the CpgnLogRecommendationEvent event.

    public class CpgnLogRecommendationEventListener
    extends EventComponent
    implements com.ibm.commerce.event.WCSEventListener, ComponentConfiguration
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Deprecated. 
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      void destroy()
      Deprecated. 
      This method is used to destroy this event listener.
      void enable(boolean val)
      Deprecated. 
      This method is used to enable or disable this event listener.
      void init(org.w3c.dom.Element node)
      Deprecated. 
      Initializes this event listener, using the component attributes provided in the method parameter.
      boolean isTransactionRequired()
      Deprecated. 
      Returns the flag that determines whether a transaction is required or not.
      void processActivityEvent(com.ibm.commerce.event.WCSEvent event)
      Deprecated. 
      Processes the activity by persisting the event data.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Deprecated. 
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CpgnLogRecommendationEventListener

        public CpgnLogRecommendationEventListener()
        Deprecated. 
        Constructor for CpgnLogRecommendationEventListener.
    • Method Detail

      • destroy

        public void destroy()
        Deprecated. 
        This method is used to destroy this event listener.
        Specified by:
        destroy in interface ComponentConfiguration
      • enable

        public void enable(boolean val)
                    throws java.lang.Exception
        Deprecated. 
        This method is used to enable or disable this event listener.
        Specified by:
        enable in interface ComponentConfiguration
        Parameters:
        val - true if this listener needs to be enabled; false otherwise.
        Throws:
        java.lang.Exception - Thrown when an error occurs while enabling/disabling this listener.
      • init

        public void init(org.w3c.dom.Element node)
                  throws java.lang.Exception
        Deprecated. 
        Initializes this event listener, using the component attributes provided in the method parameter.
        Specified by:
        init in interface ComponentConfiguration
        Parameters:
        node - the element object that contains detail of the component
        Throws:
        java.lang.Exception - Thrown when an error occurs while initializing this listener.
      • isTransactionRequired

        public boolean isTransactionRequired()
        Deprecated. 
        Returns the flag that determines whether a transaction is required or not.
        Specified by:
        isTransactionRequired in interface com.ibm.commerce.event.WCSEventListener
        Returns:
        true is transaction is required; false otherwise.
      • processActivityEvent

        public void processActivityEvent(com.ibm.commerce.event.WCSEvent event)
                                  throws ECException
        Deprecated. 
        Processes the activity by persisting the event data.
        Specified by:
        processActivityEvent in interface com.ibm.commerce.event.WCSEventListener
        Parameters:
        event - the WCS event object
        Throws:
        ECException - Thrown when an EC system exception occurs during the process of the event.