public class EmailActivityUrlHelperDataBean extends EmailActivityUrlHelperDataBeanBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
static java.lang.String |
ENCRYPTO
The query string parameter used to identify the encrypted parameters.
|
Constructor and Description |
---|
EmailActivityUrlHelperDataBean()
Constructor
|
EmailActivityUrlHelperDataBean(java.lang.String urlHeader,
java.lang.Long usersId,
java.lang.Integer emailPromotionId,
java.lang.Integer storeId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClickedEventUrl()
Get the clickedEventUrl.
|
java.lang.String |
getClickedEventUrl(java.lang.String nextUrl)
Get the clickedEventUrl.
|
java.lang.String |
getOpenedEventUrl()
Get the OpenedEventUrl.
|
java.lang.String |
getOpenedEventUrl(java.lang.String nextUrl)
Get the OpenedEventUrl.
|
java.lang.String |
getOptOutUrl()
Get the optOutUrl.
|
java.lang.String |
getOptOutUrl(java.lang.String nextUrl)
Get the optOutUrl.
|
void |
populate()
Populate the data bean.
|
void |
setClickForwardUrl(java.lang.String clickUrl)
Set the click forward URL.
|
void |
setEmailPromotionId(java.lang.Integer emailPromotionId)
Set the e-mail promotion ID.
|
void |
setOptOutForwardUrl(java.lang.String optOutUrl)
Set the opt out forward URL.
|
void |
setStoreId(java.lang.Integer storeId)
Set the store ID.
|
void |
setUrlHeader(java.lang.String urlHeader)
Set the url header.
|
void |
setUserId(java.lang.Long userId)
Set the user ID.
|
getDelegate, getOwner
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String ENCRYPTO
public EmailActivityUrlHelperDataBean()
public EmailActivityUrlHelperDataBean(java.lang.String urlHeader, java.lang.Long usersId, java.lang.Integer emailPromotionId, java.lang.Integer storeId)
urlHeader
- The URL path to the EmailEventCmdImpl
command.usersId
- The ID of the user who received the email.emailPromotionId
- The ID of the e-mail activity.storeId
- The ID of the store to which the activity belongs.public java.lang.String getClickedEventUrl()
public java.lang.String getClickedEventUrl(java.lang.String nextUrl)
nextUrl
- The URL to forward on to the browser after recording the click event.public java.lang.String getOpenedEventUrl()
public java.lang.String getOpenedEventUrl(java.lang.String nextUrl)
nextUrl
- The URL to forward on to the browser after recording the open event.public java.lang.String getOptOutUrl()
public java.lang.String getOptOutUrl(java.lang.String nextUrl)
nextUrl
- The URL to forward on to the browser after recording the opt out event.public void populate() throws java.lang.Exception
populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
java.lang.Exception
- Thrown when the encryption algorithms fail to execute successfully.public void setClickForwardUrl(java.lang.String clickUrl)
clickUrl
- The URL to forward on to the browser after recording the click event.public void setEmailPromotionId(java.lang.Integer emailPromotionId)
emailPromotionId
- The ID of the e-mail activity.public void setOptOutForwardUrl(java.lang.String optOutUrl)
optOutUrl
- The URL to forward on to the browser after recording the opt out event.public void setStoreId(java.lang.Integer storeId)
storeId
- The ID of the store to which the activity belongs.public void setUrlHeader(java.lang.String urlHeader)
urlHeader
- The URL path to the EmailEventCmdImpl
command.public void setUserId(java.lang.Long userId)
userId
- The ID of the user who received the email.