atg.projects.store.email
Class TesterEmailTools
java.lang.Object
atg.projects.store.email.StoreEmailTools
atg.projects.store.email.TesterEmailTools
public class TesterEmailTools
- extends StoreEmailTools
Utility methods for e-mail temapltes testing.
Fields inherited from class atg.projects.store.email.StoreEmailTools |
EMAIL_SUBJECT, MSG_EMPTY_MESSAGE, MSG_EMPTY_SUBJECT, MSG_ERR_BAD_EMAIL, MSG_ERR_CREATING_EMAIL_RECIPIENT, MSG_INVALID_RECIPIENT_EMAIL, MSG_INVALID_RECIPIENT_EMAIL_FORMAT, MSG_INVALID_SENDER_EMAIL, MSG_INVALID_SENDER_EMAIL_FORMAT, MSG_NO_EMAIL_HOST_NAME, MSG_NO_RECIPIENT_EMAIL, MSG_NO_SENDER_EMAIL, MSG_NO_SENDER_FIRST_NAME, MSG_NO_SENDER_LAST_NAME, STATUS_ERROR_REDIRECT, STATUS_ERROR_STAY, STATUS_SUCCESS |
Method Summary |
protected java.util.List |
addRecipients(atg.userprofiling.Profile pProfile,
atg.userprofiling.email.TemplateEmailInfoImpl pEmailInfo)
Returns list of recipients |
java.util.Map |
prepareEmailInfoParams(atg.userprofiling.Profile pProfile,
atg.userprofiling.email.TemplateEmailInfoImpl pEmailInfo,
java.util.Map pEmailParams)
Prepare email parameters before sending |
Methods inherited from class atg.projects.store.email.StoreEmailTools |
createQualifiedString, createSender, getCatalogRepository, getDefaultEmailInfo, getDefaultLocaleString, getDisplayNamePropertyName, getEmailAFriendResourceBundle, getEmailAFriendResourceBundleName, getEmailSender, getLocaleParamName, getMessageParamName, getProductIdParamName, getProductItemName, getProfileParamName, getProfileTools, getRecipientEmailParamName, getRecipientNameParamName, getSenderEmailParamName, getSenderNameParamName, getStoreConfiguration, getStoreIdParamName, getStoreNameResource, getSubject, getSubjectParamName, getTemplateUrl, getTemplateUrlName, getTransactionManager, isPersistEmails, isSendEmailInSeparateThread, prepareEmailInfo, sendEmail, setCatalogRepository, setDefaultEmailInfo, setDefaultLocale, setDisplayNamePropertyName, setEmailAFriendResourceBundleName, setEmailSender, setLocaleParamName, setMessageParamName, setPersistEmails, setProductIdParamName, setProductItemName, setProfileParamName, setProfileTools, setRecipientEmailParamName, setRecipientNameParamName, setSendEmailInSeparateThread, setSenderEmailParamName, setSenderNameParamName, setStoreConfiguration, setStoreIdParamName, setStoreNameResource, setSubjectParamName, setTemplateUrl, setTemplateUrlName, setTransactionManager, validateEmailAddress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
EMAIL_PARAMETER
public static final java.lang.String EMAIL_PARAMETER
- See Also:
- Constant Field Values
ORDER_PARAMETER
public static final java.lang.String ORDER_PARAMETER
- See Also:
- Constant Field Values
SHIPPING_GROUP_PARAMETER
public static final java.lang.String SHIPPING_GROUP_PARAMETER
- See Also:
- Constant Field Values
NEWPASSWORD_PARAMETER
public static final java.lang.String NEWPASSWORD_PARAMETER
- See Also:
- Constant Field Values
TesterEmailTools
public TesterEmailTools()
prepareEmailInfoParams
public java.util.Map prepareEmailInfoParams(atg.userprofiling.Profile pProfile,
atg.userprofiling.email.TemplateEmailInfoImpl pEmailInfo,
java.util.Map pEmailParams)
- Description copied from class:
StoreEmailTools
- Prepare email parameters before sending
- Overrides:
prepareEmailInfoParams
in class StoreEmailTools
pEmailInfo
- email templatepEmailParams
- map of parameters
- Returns:
addRecipients
protected java.util.List addRecipients(atg.userprofiling.Profile pProfile,
atg.userprofiling.email.TemplateEmailInfoImpl pEmailInfo)
- Description copied from class:
StoreEmailTools
- Returns list of recipients
- Overrides:
addRecipients
in class StoreEmailTools
- Returns:
- list of recipients