com.ibm.commerce.emarketing.commands
Interface EmailPromotionSaveTaskCmd

All Superinterfaces:
TaskCommand
All Known Subinterfaces:
EmailPromotionCreateTaskCmd, EmailPromotionUpdateTaskCmd
All Known Implementing Classes:
EmailPromotionCreateTaskCmdImpl, EmailPromotionSaveTaskCmdImpl, EmailPromotionUpdateTaskCmdImpl

public interface EmailPromotionSaveTaskCmd
extends TaskCommand

The interface to a TaskCommand that is used to save e-mail promotion entries.


Field Summary
static java.lang.String COPYRIGHT
Copyright.
Method Summary
java.lang.Integer getEmailPromotionId()
Gets the emailPromotionId of the e-mail activity
void setDescription(java.lang.String description)
Sets the description of the e-mail activity
void setEmailMessageId(java.lang.Integer emailMessageId)
Sets the e-mail message ID of the message template sent by the e-mail activity.
void setEmailPromotionId(java.lang.Integer emailPromotionId)
Sets the e-mail promotion ID of the e-mail activity.
void setJobReferenceNumber(java.lang.Long jobReferenceNumber)
Sets the JobReferenceNumber of the scheduled job that will launch the e-mail activity
void setMemberGroupId(java.lang.Long memberGroupId)
Sets the member group ID of the customer profile that will receive the e-mail activity.
void setModifiedBy(java.lang.String modifiedBy)
Sets the user logon name of the person who modified/created the e-mail activity.
void setModifiedDate(java.sql.Timestamp modifiedDate)
Sets the date when this e-mail activity is modified
void setName(java.lang.String name)
Sets the name of the e-mail activity.
void setStatus(java.lang.Integer argStatus)
Sets the status of the e-mail activity (unsent, sent, deleted)
void setStoreEntityId(java.lang.Integer storeEntityId) Sets the store ID of the store to which the activity belongs.
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Method Detail

getEmailPromotionId

public java.lang.Integer getEmailPromotionId()
Gets the emailPromotionId of the e-mail activity
Returns:
Integer The ID of the e-mail promotion associated with this e-mail activity

setEmailPromotionId

public void setEmailPromotionId(java.lang.Integer emailPromotionId)
Sets the e-mail promotion ID of the e-mail activity.
Parameters:
emailPromotionId - the e-mail promotion ID.

setEmailMessageId

public void setEmailMessageId(java.lang.Integer emailMessageId)
Sets the e-mail message ID of the message template sent by the e-mail activity.
Parameters:
emailMessageId - The e-mail message ID of the e-mail activity

setJobReferenceNumber

public void setJobReferenceNumber(java.lang.Long jobReferenceNumber)
Sets the JobReferenceNumber of the scheduled job that will launch the e-mail activity
Parameters:
jobReferenceNumber - The job reference number.

setMemberGroupId

public void setMemberGroupId(java.lang.Long memberGroupId)
Sets the member group ID of the customer profile that will receive the e-mail activity.
Parameters:
memberGroupId - The member group ID.

setModifiedBy

public void setModifiedBy(java.lang.String modifiedBy)
Sets the user logon name of the person who modified/created the e-mail activity.
Parameters:
modifiedBy - The user who modified/created the e-mail activity

setModifiedDate

public void setModifiedDate(java.sql.Timestamp modifiedDate)
Sets the date when this e-mail activity is modified
Parameters:
modifiedDate - The time when the e-mail activity is last modified

setStatus

public void setStatus(java.lang.Integer argStatus)
Sets the status of the e-mail activity (unsent, sent, deleted)
Parameters:
argStatus - 0=unsent, 1=sent, 2=deleted.

setStoreEntityId

public void setStoreEntityId(java.lang.Integer storeEntityId)
Sets the store ID of the store to which the activity belongs.
Parameters:
storeEntityId - The store ID.

setName

public void setName(java.lang.String name)
Sets the name of the e-mail activity.
Parameters:
name - The name of the e-mail activity

setDescription

public void setDescription(java.lang.String description)
Sets the description of the e-mail activity
Parameters:
description - The description of the e-mail activity

Feedback