public class EmailCampaignFormHandler
extends atg.repository.servlet.RepositoryFormHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string.
|
STATUS_ERROR_REDIRECT, STATUS_ERROR_STAY, STATUS_SUCCESSPARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDSNULL_SENTINEL, REPOSITORY_ID_PROPERTY_NAME, RESOURCE_BUNDLE_NAME, UPDATE_APPEND, UPDATE_PREPEND, UPDATE_REMOVE, UPDATE_REPLACE| Constructor and Description |
|---|
EmailCampaignFormHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFormException(java.lang.String pMsgKey,
atg.servlet.DynamoHttpServletRequest pRequest)
Create a form exception, by looking up the exception code in a resource
file identified by the RESOURCE_BUNDLE constant (defined above).
|
protected void |
addFormException(java.lang.String pWhatException,
atg.repository.RepositoryException pRepositoryExc,
atg.servlet.DynamoHttpServletRequest pRequest)
Create a form exception, by looking up the exception code in a resource
file identified by the RESOURCE_BUNDLE constant (defined above).
|
StoreEmailTools |
getEmailTools() |
java.lang.String |
getRegistrationEmail()
The email to use to register.
|
java.lang.String |
getSourceCode()
The code that indicates the source of the form input.
|
boolean |
handleCreateEmailRecipient(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Creates an EmailRecipient with the user's email.
|
void |
setEmailTools(StoreEmailTools pEmailTools) |
void |
setRegistrationEmail(java.lang.String pRegistrationEmail)
The email to use to register.
|
void |
setSourceCode(java.lang.String pSourceCode)
The code that indicates the source of the form input.
|
checkFormError, checkFormSuccess, checkForRequiredProperties, deleteItem, getCheckForReadOnlyProperties, getCheckForRequiredProperties, getContentItemDescriptor, getContentNameProperty, getContentPathProperty, getCreateErrorURL, getCreateSuccessURL, getDeleteErrorURL, getDeleteSuccessURL, getEditMapsAsLists, getErrorHandler, getExtractDefaultValuesFromItem, getFolderIdProperty, getItemDescriptor, getItemDescriptorName, getItemProperty, getLogger, getMapKeyValueSeparator, getRemoveReferencesToDeletedItems, getRepository, getRepositoryId, getRepositoryItem, getRepositoryItemEditor, getRepositoryPathName, getRequireIdOnCreate, getSpecifiedIdPropertyValue, getTransactionDemarcation, getTransactionManager, getTrimProperties, getUpdateErrorURL, getUpdateSuccessURL, getValue, getValueProperty, handleCreate, handleDelete, handleUpdate, isClearValueOnSet, isCreateTransientItems, isRequireMapKeys, isSortRepositoryItemSets, isTrimProperty, isUpdateItemsInCollection, postCreateItem, postDeleteItem, postUpdateItem, postUpdateItemProperties, preCreateItem, preDeleteItem, preUpdateItem, setCheckForReadOnlyProperties, setCheckForRequiredProperties, setClearValueOnSet, setContentNameProperty, setContentPathProperty, setCreateErrorURL, setCreateSuccessURL, setCreateTransientItems, setDeleteErrorURL, setDeleteSuccessURL, setEditMapsAsLists, setExtractDefaultValuesFromItem, setFolderIdProperty, setItemDescriptorName, setMapKeyValueSeparator, setRemoveReferencesToDeletedItems, setRepository, setRepositoryId, setRepositoryItemEditor, setRepositoryPathName, setRequireIdOnCreate, setRequireMapKeys, setSortRepositoryItemSets, setTrimProperties, setUpdateErrorURL, setUpdateItemsInCollection, setUpdateSuccessURL, setValueProperty, testPropertyAttribute, updateChildItemProperty, updateContentItemValues, updateItem, updateItemProperties, updateListProperty, updateMapPropertyaddFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleCancel, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwardsaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
public java.lang.String getRegistrationEmail()
public void setRegistrationEmail(java.lang.String pRegistrationEmail)
pRegistrationEmail - - registration e-mailpublic java.lang.String getSourceCode()
public void setSourceCode(java.lang.String pSourceCode)
pSourceCode - - source codepublic StoreEmailTools getEmailTools()
public void setEmailTools(StoreEmailTools pEmailTools)
pEmailTools - the StoreEmailTools to setpublic boolean handleCreateEmailRecipient(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - - HTTP RequestpResponse - - HTTP Responsejavax.servlet.ServletException - - if servlet exception occursjava.io.IOException - - if I/O exception occursprotected void addFormException(java.lang.String pWhatException,
atg.repository.RepositoryException pRepositoryExc,
atg.servlet.DynamoHttpServletRequest pRequest)
pWhatException - - String description of exceptionpRepositoryExc - - RepositoryExceptionpRequest - - HTTP Request Objectprotected void addFormException(java.lang.String pMsgKey,
atg.servlet.DynamoHttpServletRequest pRequest)
pMsgKey - - key to the message in the bundlpRequest - - HTTP Request Object