public class EmailTemplateUpdateTaskCmdImpl extends com.ibm.commerce.tools.command.ToolsControllerCommandImpl implements EmailTemplateUpdateTaskCmd, EmailTemplateConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright string
|
ADD, ADD_UPDATE_FLAG, ALL_EMAIL_TEMPLATE, COMPONENT_EMAIL_ACTIVITY, CONTENT, CONTENTID, DIALOG_NAVIGATION, DUPLICATE, EC_USERID, EMAIL_ACTIVITY_DIALOG_ADD_XML, EMAIL_TEMPLATE_BEAN, EMAIL_TEMPLATE_CREATED_SUCCESSFULLY, EMAIL_TEMPLATE_LIST, EMAIL_TEMPLATE_LIST_VIEW_ACTIONXMLFILE_VALUE, EMAIL_TEMPLATE_LIST_VIEW_CMD_VALUE, EMAIL_TEMPLATE_MODIFIED_SUCCESSFULLY, EMAIL_TEMPLATE_NAME_DUPLICATE, EMAIL_TEMPLATE_PROPERTY_FILE, EMSPOT, ERROR, FIRST_NAME, FORM_FILLED_EDITABLE_TEMPLATE, FORM_FILLED_TYPE, HTML_FORMAT, INVALID_DELETIONS, INVALID_DELETIONS_LIST, JSP_FILE_NON_EDITABLE_TEMPLATE, JSP_TYPE, LAST_NAME, LINK, MESSAGEID, MESSAGEIDS, MSG_TEMPLATE_LIST_EMPTY, NEW_DYNAMIC_LIST_VIEW, NEW_EMAIL_ACTIVITY, NEW_TEMPLATE_CONTENT_ID, NEW_TEMPLATE_MESSAGE_ID, NEW_TEMPLATE_NAME, NEXT_VIEW, ORDER_BY_CONTENT_FORMAT, ORDER_BY_DESCRIPTION, ORDER_BY_NAME, ORDER_BY_TEMPLATE_TYPE, PARAMETER_ACTIONXMLFILE, PARAMETER_CMD, PARAMETER_EMAIL_ACTIVITY_COMMAND_ERROR, PARAMETER_EMAIL_ACTIVITY_REPLYTOCHECKBOX, PARAMETER_EMAIL_ACTIVITY_STATUS, PARAMETER_EMAIL_EVENT_NEXTVIEW, PARAMETER_EMAIL_EVENT_NEXTVIEW_CMD, PARAMETER_EMAIL_TEMPLATE_ACTIVE, PARAMETER_EMAIL_TEMPLATE_BODY, PARAMETER_EMAIL_TEMPLATE_CONTENTFORMAT, PARAMETER_EMAIL_TEMPLATE_DELETED, PARAMETER_EMAIL_TEMPLATE_DESCRIPTION, PARAMETER_EMAIL_TEMPLATE_NAME, PARAMETER_EMAIL_TEMPLATE_SUBJECT, PARAMETER_ORDER_BY, PARAMETER_XMLFILE, PLAIN_TEXT_FORMAT, RECORDOPEN, RESOURCE_BUNDLE_NAME, STOREID, UPDATE, VIEW_EMAIL_ACTIVITY_DELETE_REDIRECT
Constructor and Description |
---|
EmailTemplateUpdateTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Updates the Emlmsg, emlcontent and emlmcrel tables..
|
void |
setEmailTemplateDataObject(EmailTemplateDatabean newEmailTemplateObject)
Sets the new email template object..
|
void |
validateParamters()
Validates whether all the required column values are present or not..
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getViewInputProperties, setRequestProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
-
- ECException - When the database updation cannot be performed.com.ibm.commerce.exception.ECException
public void setEmailTemplateDataObject(EmailTemplateDatabean newEmailTemplateObject)
setEmailTemplateDataObject
in interface EmailTemplateUpdateTaskCmd
new
- Email Template Objectpublic void validateParamters() throws com.ibm.commerce.exception.ParameterNotFoundException
com.ibm.commerce.exception.ParameterNotFoundException
- - When any of the non-null column value is null