| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.promotion.DisqualifyRemovedItemClosenessQualifiers
public class DisqualifyRemovedItemClosenessQualifiers
This action sends PromotionClosenessDisqualification events for all closenessQualifiers in an item that was removed from an order.
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
protected  java.lang.String | 
mJMSType
the JMS type of the PromotionClosenessDisqualification message  | 
protected  MessageSender | 
mMessageSender
the MessageSender  | 
protected static java.util.ResourceBundle | 
sResourceBundle
Resource Bundle  | 
| Constructor Summary | |
|---|---|
DisqualifyRemovedItemClosenessQualifiers()
 | 
|
| Method Summary | |
|---|---|
 void | 
firePromotionClosenessMessage(java.lang.String pJMSType,
                              Order pOrder,
                              RepositoryItem pProfile,
                              RepositoryItem pClosenessQualifier)
Constructs and sends a PromotionClosenessDisqualification  | 
 java.lang.String | 
getJMSType()
 | 
 MessageSender | 
getMessageSender()
 | 
 void | 
receiveMessage(java.lang.String pPortName,
               javax.jms.Message pMessage)
This method checks to see if the message is an ItemRemovedFromOrder.  | 
 void | 
setJMSType(java.lang.String pJMSType)
The JMS type of PromotionClosenessDisqualification messages.  | 
 void | 
setMessageSender(MessageSender pMessageSender)
The component that will send the PromotionClosenessDisqualification messages.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String CLASS_VERSION
protected static java.util.ResourceBundle sResourceBundle
protected MessageSender mMessageSender
protected java.lang.String mJMSType
| Constructor Detail | 
|---|
public DisqualifyRemovedItemClosenessQualifiers()
| Method Detail | 
|---|
public MessageSender getMessageSender()
public void setMessageSender(MessageSender pMessageSender)
pMessageSender - the component that will send the PromotionClosenessDisqualification messages.public java.lang.String getJMSType()
public void setJMSType(java.lang.String pJMSType)
pJMSType - the JMS type of PromotionClosenessDisqualification messages.
public void receiveMessage(java.lang.String pPortName,
                           javax.jms.Message pMessage)
                    throws javax.jms.JMSException
receiveMessage in interface MessageSinkpPortName - the name of the port the message was received on.pMessage - the message received
javax.jms.JMSException
public void firePromotionClosenessMessage(java.lang.String pJMSType,
                                          Order pOrder,
                                          RepositoryItem pProfile,
                                          RepositoryItem pClosenessQualifier)
                                   throws javax.jms.JMSException
pJMSType - The JMS type of the messagepOrder - The order that the closenessQualifier is associated withpProfile - The owner of the orderpPromotion - The promotion that was close to being qualified forpClosenessQualifier - The closenessQualifier to be disqualified
javax.jms.JMSException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||