|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.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_VERSION
Class version string |
protected MutableRepository |
mAbandonedOrderLogRepository
the AbandonedOrderLogRepository component |
protected AbandonedOrderTools |
mAbandonedOrderTools
the AbandonedOrderTools component |
protected java.lang.String |
mConvertedDatePropertyName
the ConvertedDate property name |
protected java.lang.String |
mConvertedOrderAmountPropertyName
the amount property of the convertedOrder item |
protected java.lang.String |
mConvertedOrderItemName
the ConvertedOrder item descriptor name |
protected java.lang.String |
mOrderAmountPropertyName
the amount property of the priceInfo item |
protected java.lang.String |
mPriceInfoPropertyName
the priceInfo property name of the order item |
protected java.lang.String |
mPromotionCountPropertyName
the PromotionCount property name |
protected PromotionTools |
mPromotionTools
the PromotionTools component |
protected java.lang.String |
mPromotionValuePropertyName
the PromotionValue property name |
static java.lang.String |
PARAM_ORDER_ID
parameter: orderId |
protected static java.util.ResourceBundle |
sResourceBundle
Resource 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. |
void |
initialize(java.util.Map pParameters)
Initializes the action with the given parameters. |
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 Action
configure
in class ActionImpl
ProcessException
- if the action could not be configured
- for example, because some of the required properties are
missing from the configurationpublic void initialize(java.util.Map pParameters) throws ProcessException
initialize
in interface Action
initialize
in class ActionImpl
ProcessException
- 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 ActionImpl
ProcessException
- if the action can not be executed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |