|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.process.action.ActionImpl
atg.markers.scenario.MarkerAction
atg.commerce.markers.scenario.AddMarkerToOrder
public class AddMarkerToOrder
Scenario action class for adding a marker to an Order.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.markers.scenario.MarkerAction |
|---|
mMarkerConfiguration |
| Fields inherited from interface atg.commerce.markers.OrderMarkerConstants |
|---|
ORDER_MARKER_RESOURCE_NAME, ORDER_PROPERTY_NAME, sResourceBundle |
| Constructor Summary | |
|---|---|
AddMarkerToOrder()
|
|
| Method Summary | |
|---|---|
void |
doAction(ProcessExecutionContext pContext)
Adds a marker to the order. |
protected Order |
getOrderToUse(ProcessExecutionContext pContext)
This method is called by the doAction method to return the Order that's used in the addMarker API calls. |
void |
initialize(java.util.Map pParameters)
Verifies required parameters are provided. |
| Methods inherited from class atg.markers.scenario.MarkerAction |
|---|
configure, doesParameterExist, executeAction, getData, getDuplicationMode, getExtendedProperties, getKey, getMarkedItemType, getMarkerConfiguration, getMarkerItemType, getMarkerPropertyName, getValue, setMarkerConfiguration |
| 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
| Constructor Detail |
|---|
public AddMarkerToOrder()
| Method Detail |
|---|
protected Order getOrderToUse(ProcessExecutionContext pContext)
The order is either extracted from the event or from the current session's shopping cart.
public void initialize(java.util.Map pParameters)
throws ProcessException
Required parameters:
PARAM_KEY
initialize in interface Actioninitialize in class MarkerActionProcessException - if key is no providedExpression
public void doAction(ProcessExecutionContext pContext)
throws ProcessException
doAction in class MarkerActionProcessException - if the action can not be executed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||