java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.marketingcenter.events.runtime.MarketingEventUpdateCommandImpl
Task command to handle marketing events. How the event is handled is determined by a parameter, usually a URL parameter, (defined by EVENTTYPE_PARAMETER) value.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
protected
java.lang.String |
eventType Type of this marketing event. |
static java.lang.String |
EVENTTYPE_PARAMETER Parameter name in the requestParams to specify the type of event. |
TypedProperty |
requestProps Request properties object that contains all the current request attributes. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.marketingcenter.events.runtime. MarketingEventUpdateCommand |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
MarketingEventUpdateCommandImpl() Construct a MarketingEventUpdateCommandImpl object. |
Method Summary | |
---|---|
protected
java.lang.String |
getEventType() Getter for eventType. |
TypedProperty |
getRequestProps() Getter for requestProps. |
protected
void |
setEventType(java.lang.String newEventType) Setter for eventType. |
void |
setRequestProps(
TypedProperty newRequestParams) Setter for the request properties (requestProps) from the controller command. |
void |
validateParameters() Check the parameters and set the eventType. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
performExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String EVENTTYPE_PARAMETER
public TypedProperty requestProps
protected java.lang.String eventType
Constructor Detail |
---|
public MarketingEventUpdateCommandImpl()
Method Detail |
---|
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
ECCommand#validateParameters()
protected java.lang.String getEventType()
public TypedProperty getRequestProps()
protected void setEventType(java.lang.String newEventType)
newEventType
- The event type to use.public void setRequestProps(TypedProperty newRequestParams)
setRequestProps
in interface
MarketingEventUpdateCommand
newRequestParams
- The request properties to
use.