|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.order.abandoned.AbandonedOrderMessageFactory
public class AbandonedOrderMessageFactory
This class contains methods used by several components of the Abandoned Shopping Carts feature. It also provides a central location for the definition of property, repository item, order state, and abandonment state names. There are methods that are used to send the various abandonment JMS messages, and perform the functions needed for the SetLastUpdated, ReanimatedAbandonedOrder, and ConvertAbandonedOrder scenario actions and droplets.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
AbandonedOrderMessageFactory()
|
Method Summary | |
---|---|
protected OrderAbandoned |
createAbandonmentMessage(RepositoryItem pAbandonmentInfo)
This method creates a generic order abandonment message. |
protected OrderAbandoned |
createAbandonmentMessage(RepositoryItem pAbandonmentInfo,
java.lang.String pSiteId,
java.lang.String pAbandonmentState)
This method creates an OrderLost JMS message. |
protected OrderAbandoned |
createAbandonmentMessage(java.lang.String pOrderId,
java.lang.String pProfileId,
java.lang.String pAbandonmentState)
This method creates a generic order abandonment message. |
protected OrderAbandoned |
createAbandonmentMessage(java.lang.String pOrderId,
java.lang.String pProfileId,
java.lang.String pAbandonmentState,
java.lang.String pSiteId)
This method creates a generic order abandonment message. |
protected OrderAbandoned |
createOrderAbandonedMessage(RepositoryItem pAbandonmentInfo)
This method creates an OrderAbandoned JMS message. |
protected OrderAbandoned |
createOrderAbandonedMessage(RepositoryItem pAbandonmentInfo,
java.lang.String pSiteId)
This method creates an OrderAbandoned JMS message. |
protected OrderAbandoned |
createOrderConvertedMessage(RepositoryItem pAbandonmentInfo)
This method creates an OrderConverted JMS message. |
protected OrderAbandoned |
createOrderConvertedMessage(RepositoryItem pAbandonmentInfo,
java.lang.String pSiteId)
This method creates an OrderConverted JMS message. |
protected OrderAbandoned |
createOrderLostMessage(RepositoryItem pAbandonmentInfo)
This method creates an OrderLost JMS message. |
protected OrderAbandoned |
createOrderLostMessage(RepositoryItem pAbandonmentInfo,
java.lang.String pSiteId)
This method creates an OrderLost JMS message. |
protected OrderAbandoned |
createOrderLostMessage(java.lang.String pOrderId,
java.lang.String pProfileId,
java.lang.String pAbandonmentState)
This method creates an OrderLost JMS message. |
protected OrderAbandoned |
createOrderLostMessage(java.lang.String pOrderId,
java.lang.String pProfileId,
java.lang.String pAbandonmentState,
java.lang.String pSiteId)
This method creates an OrderLost JMS message. |
protected OrderAbandoned |
createOrderReanimatedMessage(RepositoryItem pAbandonmentInfo)
This method creates an OrderReanimated JMS message. |
protected OrderAbandoned |
createOrderReanimatedMessage(RepositoryItem pAbandonmentInfo,
java.lang.String pSiteId)
This method creates an OrderReanimated JMS message. |
AbandonedOrderTools |
getAbandonedOrderTools()
|
java.lang.String |
getOrderAbandonedMessageType()
|
java.lang.String |
getOrderConvertedMessageType()
|
java.lang.String |
getOrderLostMessageType()
|
java.lang.String |
getOrderReanimatedMessageType()
|
void |
setAbandonedOrderTools(AbandonedOrderTools pAbandonedOrderTools)
AbandonedOrderTools contains property/item names and helper methods. |
void |
setOrderAbandonedMessageType(java.lang.String pOrderAbandonedMessageType)
The JMS type of the OrderAbandoned message. |
void |
setOrderConvertedMessageType(java.lang.String pOrderConvertedMessageType)
The JMS type of the OrderConverted message. |
void |
setOrderLostMessageType(java.lang.String pOrderLostMessageType)
The JMS type of the OrderLost message. |
void |
setOrderReanimatedMessageType(java.lang.String pOrderReanimatedMessageType)
The JMS type of the OrderReanimated message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public AbandonedOrderMessageFactory()
Method Detail |
---|
public void setAbandonedOrderTools(AbandonedOrderTools pAbandonedOrderTools)
pAbandonedOrderTools
- the AbandonedOrderTools helper component.public AbandonedOrderTools getAbandonedOrderTools()
public void setOrderAbandonedMessageType(java.lang.String pOrderAbandonedMessageType)
pOrderAbandonedMessageType
- the JMS type of the OrderAbandoned message.public java.lang.String getOrderAbandonedMessageType()
public void setOrderReanimatedMessageType(java.lang.String pOrderReanimatedMessageType)
pOrderReanimatedMessageType
- the JMS type of the OrderReanimated message.public java.lang.String getOrderReanimatedMessageType()
public void setOrderConvertedMessageType(java.lang.String pOrderConvertedMessageType)
pOrderConvertedMessageType
- the JMS type of the
OrderConverted message.public java.lang.String getOrderConvertedMessageType()
public void setOrderLostMessageType(java.lang.String pOrderLostMessageType)
pOrderLostMessageType
- the JMS type of the
OrderLost message.public java.lang.String getOrderLostMessageType()
protected OrderAbandoned createAbandonmentMessage(RepositoryItem pAbandonmentInfo) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
abandoned order
RepositoryException
protected OrderAbandoned createAbandonmentMessage(java.lang.String pOrderId, java.lang.String pProfileId, java.lang.String pAbandonmentState)
pOrderId
- the id of the abandoned order.pProfileId
- the id of the profile that is associated with the order.pAbandonmentState
- the abandonment state of the order.protected OrderAbandoned createAbandonmentMessage(java.lang.String pOrderId, java.lang.String pProfileId, java.lang.String pAbandonmentState, java.lang.String pSiteId)
pOrderId
- the id of the abandoned order.pProfileId
- the id of the profile that is associated with the order.pAbandonmentState
- the abandonment state of the order.protected OrderAbandoned createOrderAbandonedMessage(RepositoryItem pAbandonmentInfo) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
abandoned order
RepositoryException
protected OrderAbandoned createOrderAbandonedMessage(RepositoryItem pAbandonmentInfo, java.lang.String pSiteId) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
abandoned orderpSiteId
- site id associated with the message.
RepositoryException
protected OrderAbandoned createOrderReanimatedMessage(RepositoryItem pAbandonmentInfo) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
reanimated order
RepositoryException
protected OrderAbandoned createOrderReanimatedMessage(RepositoryItem pAbandonmentInfo, java.lang.String pSiteId) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
reanimated orderpSiteId
- site id associated with the message.
RepositoryException
protected OrderAbandoned createOrderConvertedMessage(RepositoryItem pAbandonmentInfo) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
converted order
RepositoryException
protected OrderAbandoned createOrderConvertedMessage(RepositoryItem pAbandonmentInfo, java.lang.String pSiteId) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
converted orderpSiteId
- site id associated with the message.
RepositoryException
protected OrderAbandoned createOrderLostMessage(RepositoryItem pAbandonmentInfo) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
lost order
RepositoryException
protected OrderAbandoned createOrderLostMessage(RepositoryItem pAbandonmentInfo, java.lang.String pSiteId) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
lost order
RepositoryException
protected OrderAbandoned createAbandonmentMessage(RepositoryItem pAbandonmentInfo, java.lang.String pSiteId, java.lang.String pAbandonmentState) throws RepositoryException
pAbandonmentInfo
- the abandonmentInfo repository item associated with the
lost order
RepositoryException
protected OrderAbandoned createOrderLostMessage(java.lang.String pOrderId, java.lang.String pProfileId, java.lang.String pAbandonmentState)
protected OrderAbandoned createOrderLostMessage(java.lang.String pOrderId, java.lang.String pProfileId, java.lang.String pAbandonmentState, java.lang.String pSiteId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |