|
|||||||||
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.ConvertAbandonedOrder
public class ConvertAbandonedOrder
This action checks to see if the current order is abandoned. If so, it changes the abandonmentState to "CONVERTED" and fires an OrderConverted event if configured to do so.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected AbandonedOrderTools |
mAbandonedOrderTools
the AbandonedOrderTools component |
static java.lang.String |
PARAM_ORDER_ID
parameter: orderId |
protected static java.util.ResourceBundle |
sResourceBundle
Resource Bundle |
Constructor Summary | |
---|---|
ConvertAbandonedOrder()
|
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 convertAbandonedOrder 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
Constructor Detail |
---|
public ConvertAbandonedOrder()
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 |