public class EmailTemplateDatabean extends com.ibm.commerce.beans.SmartDataBeanImpl implements EmailTemplateConstants
EmailMessageAccessBean
and EmailContentAccessBean
- See Also:
- Serialized Form
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
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 |
---|
EmailTemplateDatabean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentFormat()
Returns the content Format flag of this template
HTML or Plain Text Format
|
java.lang.String |
getContentId()
Returns the content ID for this template
|
java.lang.String |
getDescription()
Returns the description of this email template
|
java.lang.String |
getEmailBody()
Returns the Email body for this template
|
java.lang.String |
getEmailSubject()
Returns the email subject of this template
|
java.lang.String |
getMessageId()
Returns the message ID of this template
|
java.lang.String |
getName()
Returns the name of this email template
|
java.lang.String |
getRecordOpen()
Returns the record open flag of this template
|
java.lang.String |
getStatus()
Returns the status flag for this template
1 - Active
0 - Deleted
|
java.lang.String |
getStoreId()
Returns the storeId of this email template
|
void |
populate() |
void |
populateFromHashtable(java.util.Map hm)
Populates the instance fields of this databean from the values present in the
hash Map
|
void |
setContentFormat(java.lang.String newContentFormat)
Sets the content format for this template
HTML ("1") or Plain Text Format ("0")
|
void |
setContentId(java.lang.String newContentId)
Sets the content ID for this template
|
void |
setDescription(java.lang.String newDesc)
Sets the description for this email template
|
void |
setEmailBody(java.lang.String newBody)
Sets the email body for this template
|
void |
setEmailSubject(java.lang.String newSubject)
Returns the email subject of this template.
|
void |
setMessageId(java.lang.String newMessageId)
Sets the message ID for this template
|
void |
setName(java.lang.String newName)
Sets the name for this email template
|
void |
setRecordOpen(java.lang.String newRecordOpen)
sets the record open flag for this email template
1 - Record
0 - Do not record
|
void |
setStatus(java.lang.String newStatus)
Sets the status of this template
1- Active
0 - Deleted
|
void |
setStoreId(java.lang.String newStoreId)
Sets the storeId for this email template
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public java.lang.String getContentFormat()
public java.lang.String getContentId()
public java.lang.String getDescription()
public java.lang.String getEmailBody()
public java.lang.String getEmailSubject()
public java.lang.String getMessageId()
public java.lang.String getName()
public java.lang.String getRecordOpen()
public java.lang.String getStatus()
public java.lang.String getStoreId()
public void populate() throws com.ibm.commerce.exception.ECException
populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
com.ibm.commerce.exception.ECException
SmartDataBean.populate()
public void populateFromHashtable(java.util.Map hm)
hm
- - Hash map which contains the values for a particular template.public void setContentFormat(java.lang.String newContentFormat)
newContentFormat
- - Content format flagpublic void setContentId(java.lang.String newContentId)
newContentId
- - content ID to be setpublic void setDescription(java.lang.String newDesc)
newDesc
- - Descriptionpublic void setEmailBody(java.lang.String newBody)
newBody
- - Email Body to be setpublic void setEmailSubject(java.lang.String newSubject)
newSubject
- - Subject to be set for this email templatepublic void setMessageId(java.lang.String newMessageId)
newMessageId
- - new message ID to be setpublic void setName(java.lang.String newName)
newName
- - name to be set..public void setRecordOpen(java.lang.String newRecordOpen)
newRecordOpen
- - Record open flagpublic void setStatus(java.lang.String newStatus)
newStatus
- - Status flagpublic void setStoreId(java.lang.String newStoreId)
storeId
- - String