@Encoded public class EventHandler extends AbstractResourceHandler implements IResourceHandler
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String | ACTIVITY_ID
The Constant ACTIVITY_ID.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
protected static java.lang.String | DATA_TYPE
The Constant DATA_TYPE.
|
protected static java.lang.String | DATA_UNIQUE_ID
The Constant DATA_UNIQUE_ID.
|
static java.lang.String | EMARKETING_SPOT_ID
The Constant EMARKETING_SPOT_ID
|
protected static java.lang.String | EXPERIMENT_ID
The Constant EXPERIMENT_ID.
|
static java.lang.String | FORMAT_GROUP_NAME
The constant FORMAT_GROUP_NAME.
|
static java.lang.String | RESOURCE_NAME
The Constant RESOURCE_NAME.
|
protected static java.lang.String | TEST_ELEMENT_ID
The Constant TEST_ELEMENT_ID.
|
Constructor and Description |
---|
EventHandler() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map | buildParameterMap(javax.servlet.http.HttpServletRequest request, java.lang.String responseFormat, java.lang.String storeId)
A utility method to build the parameter map to evaluate marketing trigger.
|
java.lang.String | getFormattingGroupName()
Returns the formatting group name for resolving the struts action of the formatting JSP.
|
java.lang.String | getResourceName()
This method returns the name of the resource used primarily to determine the representation of the resource.
|
javax.ws.rs.core.Response | triggerMarketing(java.lang.String storeId, java.lang.String responseFormat)
Trigger marketing based on certain events.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String RESOURCE_NAME
protected static final java.lang.String ACTIVITY_ID
protected static final java.lang.String EXPERIMENT_ID
protected static final java.lang.String TEST_ELEMENT_ID
protected static final java.lang.String DATA_TYPE
protected static final java.lang.String DATA_UNIQUE_ID
public static final java.lang.String FORMAT_GROUP_NAME
public static final java.lang.String EMARKETING_SPOT_ID
public java.lang.String getResourceName()
public java.lang.String getFormattingGroupName()
public javax.ws.rs.core.Response triggerMarketing(java.lang.String storeId, java.lang.String responseFormat)
protected java.util.Map buildParameterMap(javax.servlet.http.HttpServletRequest request, java.lang.String responseFormat, java.lang.String storeId) throws java.lang.Exception