public class EmailTemplateUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright.
|
Constructor and Description |
---|
EmailTemplateUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String | getCampaignName(java.lang.String emailPromoId)
This method returns the campaign name for the Email activity
|
static java.lang.String | getCampaignParameterValues(java.lang.String emailPromotionId, java.lang.String linkName)
This method returns the cm_cr parameter value which is going to send to Coremetrics This parameter will have the format of cm_cr=OS:CampaignName-_-EmailActivity-_-PromoEmail-_-EmailTemplate-_-LinkName
|
static java.lang.String | getCampaignParameterValues(java.lang.String emailPromotionId, java.lang.String linkName, boolean includeOS)
This method returns the cm_cr parameter value which is going to send to Coremetrics This parameter will have the following format when the includeOS is true cm_cr=OS:CampaignName-_-EmailActivity-_-PromoEmail-_-EmailTemplate-_-LinkName and the following format if the includeOS flag is false cm_cr=CampaignName-_-1-_-PromoEmail-_-EmailTemplate-_-LinkName
|
static java.lang.String | getClientId(java.lang.Integer storeId)
Gets the clientId for the store specified by the storeId
|
static java.util.Vector | getDisplayTypes(java.lang.String tagName)
This method returns all the available display types for a given tag name.
|
static java.lang.Integer | getEmailMsgId(java.lang.String emailPromotionId)
This method returns the email message id
|
static java.lang.String | getEmailPromoName(java.lang.String emailPromotionId)
This method returns the emailPromo Name
|
static java.lang.String | getEmailTemplateName(java.lang.Integer messageId)
This method returns the email template name
|
static java.lang.String | getEmailTemplateName(java.lang.String emailPromotionId)
This method returns the email template name
|
static java.lang.String[] | getImageRequestURLForContentSpot(java.lang.String emailPromoId, java.lang.String contentSpotName, CommandContext commandContext)
Deprecated.
Content Spots have been deprecated. For more information, see Content Spots.
|
static java.lang.String[] | getImageRequestURLForEMSpot(java.lang.String emailPromoId, java.lang.String emsName, CommandContext commandContext)
Returns the image request url array which contain the image request url to coremetrics for all the links present in the EMarketingSpot
|
static java.lang.String[] | getImageRequestURLForEMSpot(java.lang.String emailPromoId, java.lang.String emsName, CommandContext commandContext, java.lang.String catalogId)
Returns the image request url array which contain the image request url to coremetrics for all the links present in the EMarketingSpot
|
static java.lang.String | getImageRequestURLForLink(java.lang.String emailPromoId, java.lang.String linkName, CommandContext commandContext)
Returns the image request url which contain the image request url to coremetrics for the link
|
static java.util.ArrayList | getLinkNamesForContentSpot(java.lang.String cspotName, CommandContext commandContent)
Deprecated.
Content Spots have been deprecated. For more information, see Content Spots.
|
static java.util.ArrayList | getLinkNamesForEMSpot(java.lang.String emsName, CommandContext commandContent)
Returns the link names of the links present in the EMarketing Spot
|
static java.util.ArrayList | getLinkNamesForEMSpot(java.lang.String emsName, CommandContext commandContent, java.lang.String catalogId)
Returns the link names of the links present in the EMarketing Spot
|
static java.lang.String | getMarketingParameterValues(java.lang.String emailPromotionId, java.lang.String linkName)
This method returns the cm_mmc parameter value which is going to send to Coremetrics This parameter will have the format of cm_mmc=Email-_-WebsphereCommerce-_-PromoEmail-_-LinkName
|
static java.lang.String[] | getTemplateViewByStoreType()
This method returns all template views
|
static boolean | isCoremetricsEnabled(java.lang.Integer storeId)
Deprecated.
As of release WC v7, replaced by com.ibm.commerce.bi.BiConfigRegistry.getInstance()#isEnabled(Integer storeId)
|
public static final java.lang.String COPYRIGHT
public static java.lang.String[] getTemplateViewByStoreType()
public static java.util.Vector getDisplayTypes(java.lang.String tagName)
public static java.lang.String getClientId(java.lang.Integer storeId)
@Deprecated public static boolean isCoremetricsEnabled(java.lang.Integer storeId)
public static java.lang.String getEmailPromoName(java.lang.String emailPromotionId) throws java.lang.Exception
public static java.lang.Integer getEmailMsgId(java.lang.String emailPromotionId) throws java.lang.Exception
public static java.lang.String getEmailTemplateName(java.lang.Integer messageId) throws java.lang.Exception
public static java.lang.String getCampaignName(java.lang.String emailPromoId) throws java.lang.Exception
public static java.lang.String getCampaignParameterValues(java.lang.String emailPromotionId, java.lang.String linkName) throws java.lang.Exception
public static java.lang.String getCampaignParameterValues(java.lang.String emailPromotionId, java.lang.String linkName, boolean includeOS) throws java.lang.Exception
public static java.lang.String getMarketingParameterValues(java.lang.String emailPromotionId, java.lang.String linkName) throws java.lang.Exception
public static java.util.ArrayList getLinkNamesForContentSpot(java.lang.String cspotName, CommandContext commandContent) throws java.lang.Exception
public static java.util.ArrayList getLinkNamesForEMSpot(java.lang.String emsName, CommandContext commandContent, java.lang.String catalogId) throws java.lang.Exception
public static java.util.ArrayList getLinkNamesForEMSpot(java.lang.String emsName, CommandContext commandContent) throws java.lang.Exception
public static java.lang.String[] getImageRequestURLForEMSpot(java.lang.String emailPromoId, java.lang.String emsName, CommandContext commandContext, java.lang.String catalogId) throws java.lang.Exception
public static java.lang.String[] getImageRequestURLForEMSpot(java.lang.String emailPromoId, java.lang.String emsName, CommandContext commandContext) throws java.lang.Exception
public static java.lang.String[] getImageRequestURLForContentSpot(java.lang.String emailPromoId, java.lang.String contentSpotName, CommandContext commandContext) throws java.lang.Exception
public static java.lang.String getImageRequestURLForLink(java.lang.String emailPromoId, java.lang.String linkName, CommandContext commandContext) throws java.lang.Exception
public static java.lang.String getEmailTemplateName(java.lang.String emailPromotionId)