| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.process.action.ActionImpl
atg.commerce.order.abandoned.LogPromotionInfo
public class LogPromotionInfo
This action logs the number of promotions and total value of promotions for an order.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected  MutableRepository | mAbandonedOrderLogRepositorythe AbandonedOrderLogRepository component | 
| protected  AbandonedOrderTools | mAbandonedOrderToolsthe AbandonedOrderTools component | 
| protected  java.lang.String | mConvertedDatePropertyNamethe ConvertedDate property name | 
| protected  java.lang.String | mConvertedOrderAmountPropertyNamethe amount property of the convertedOrder item | 
| protected  java.lang.String | mConvertedOrderItemNamethe ConvertedOrder item descriptor name | 
| protected  java.lang.String | mOrderAmountPropertyNamethe amount property of the priceInfo item | 
| protected  java.lang.String | mPriceInfoPropertyNamethe priceInfo property name of the order item | 
| protected  java.lang.String | mPromotionCountPropertyNamethe PromotionCount property name | 
| protected  PromotionTools | mPromotionToolsthe PromotionTools component | 
| protected  java.lang.String | mPromotionValuePropertyNamethe PromotionValue property name | 
| static java.lang.String | PARAM_ORDER_IDparameter: orderId | 
| protected static java.util.ResourceBundle | sResourceBundleResource Bundle | 
| Constructor Summary | |
|---|---|
| LogPromotionInfo() | |
| Method Summary | |
|---|---|
|  void | configure(java.lang.Object pConfiguration)Configures the action using the given configuration object. | 
| protected  void | executeAction(ProcessExecutionContext pContext)This method executes the action by calling the setLastUpdated method of AbandonedOrderTools. | 
| protected  java.sql.Timestamp | getTimestamp()Gets the current time as a timestamp. | 
|  void | initialize(java.util.Map pParameters)Initializes the action with the given parameters. | 
| protected  void | logPromotionInfo(java.lang.String pOrderId)Creates the converted order item and sets the related promotion information. | 
| Methods inherited from class atg.process.action.ActionImpl | 
|---|
| execute, execute, getActionName, getParameterExpression, getParameterValue, storeOptionalParameter, storeRequiredMutableParameter, storeRequiredParameter, toString, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
protected static java.util.ResourceBundle sResourceBundle
public static final java.lang.String PARAM_ORDER_ID
protected AbandonedOrderTools mAbandonedOrderTools
protected PromotionTools mPromotionTools
protected MutableRepository mAbandonedOrderLogRepository
protected java.lang.String mConvertedOrderItemName
protected java.lang.String mConvertedDatePropertyName
protected java.lang.String mPromotionCountPropertyName
protected java.lang.String mPromotionValuePropertyName
protected java.lang.String mPriceInfoPropertyName
protected java.lang.String mOrderAmountPropertyName
protected java.lang.String mConvertedOrderAmountPropertyName
| Constructor Detail | 
|---|
public LogPromotionInfo()
| Method Detail | 
|---|
public void configure(java.lang.Object pConfiguration)
               throws ProcessException
configure in interface Actionconfigure in class ActionImplProcessException - if the action could not be configured
 - for example, because some of the required properties are
 missing from the configuration
public void initialize(java.util.Map pParameters)
                throws ProcessException
initialize in interface Actioninitialize in class ActionImplProcessException - if the action could not be properly
 initialized - for example, if not all of the required parameters
 are present in the MapExpression
protected void executeAction(ProcessExecutionContext pContext)
                      throws ProcessException
executeAction in class ActionImplProcessException - if the action can not be executed
protected void logPromotionInfo(java.lang.String pOrderId)
                         throws CommerceException,
                                ProcessException,
                                RepositoryException
pOrderId - The order being converted.
ProcessException
CommerceException
RepositoryExceptionprotected java.sql.Timestamp getTimestamp()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||