com.ibm.commerce.order.event

Class DOMOrderCancellationEventListenerImpl

  • java.lang.Object
    • com.ibm.commerce.event.EventComponentConfiguration
      • com.ibm.commerce.event.impl.AbstractECEventListener
        • com.ibm.commerce.order.event.DOMOrderCancellationEventListenerImpl
  • All Implemented Interfaces:
    com.ibm.commerce.event.WCSEventListener, ComponentConfiguration, java.util.EventListener

    Deprecated. 
    Replaced by OrderCancellationEventListenerImpl.

    public class DOMOrderCancellationEventListenerImpl
    extends com.ibm.commerce.event.impl.AbstractECEventListener
    This event listener is used to capture and process order cancellation event. It calls outbound order services to notify the external system to cancel one order.
    • Field Summary

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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      java.lang.Class getECEventContainer()
      Deprecated. 
      Get the class of ECEEventContainer
      java.util.Set getEvents()
      Deprecated. 
      Gets a set including the order release create event
      void processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent)
      Deprecated. 
      Process Event by setting variables and calling DOMExternalOrder.ProcessOrder() with action code CancelOrder to cancel an order in external system.
      • Methods inherited from class com.ibm.commerce.event.impl.AbstractECEventListener

        destroy, enable, getEventContainers, isTransactionRequired, processActivityEvent, registerEventContainer
      • Methods inherited from class com.ibm.commerce.event.EventComponentConfiguration

        init
      • 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 field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DOMOrderCancellationEventListenerImpl

        public DOMOrderCancellationEventListenerImpl()
        Deprecated. 
        This method is the default constructor.
    • Method Detail

      • processEvent

        public void processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent)
                          throws java.lang.Exception
        Deprecated. 
        Process Event by setting variables and calling DOMExternalOrder.ProcessOrder() with action code CancelOrder to cancel an order in external system.
        Specified by:
        processEvent in class com.ibm.commerce.event.impl.AbstractECEventListener
        Parameters:
        commonBaseEvent - the event which is processed
        Throws:
        java.lang.Exception - An exception when processing the event.
      • getECEventContainer

        public java.lang.Class getECEventContainer()
        Deprecated. 
        Get the class of ECEEventContainer
        Specified by:
        getECEventContainer in class com.ibm.commerce.event.impl.AbstractECEventListener
        Returns:
        Class, the class of ECEEventContainer
        See Also:
        AbstractECEventListener.getECEventContainer()
      • getEvents

        public java.util.Set getEvents()
        Deprecated. 
        Gets a set including the order release create event
        Specified by:
        getEvents in class com.ibm.commerce.event.impl.AbstractECEventListener
        Returns:
        Set, a set including the order release create event
        See Also:
        AbstractECEventListener.getEvents()