com.ibm.commerce.emarketing.commands
Class EmailPromotionSaveTaskCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.emarketing.commands.EmailPromotionSaveTaskCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, EmailPromotionSaveTaskCmd, TaskCommand
Direct Known Subclasses:
EmailPromotionCreateTaskCmdImpl, EmailPromotionUpdateTaskCmdImpl

public abstract class EmailPromotionSaveTaskCmdImpl
extends TaskCommandImpl
implements EmailPromotionSaveTaskCmd

The TaskCommand that is used to save e-mail promotion entries. These e-mail promotion entries are the persisted form of e-mail activities.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
EmailPromotionSaveTaskCmdImpl()
           
 
Method Summary
 java.lang.String getDescription()
          Gets the description of the e-mail activity.
 java.lang.Integer getEmailMessageId()
          Gets the e-mail message ID of the e-mail message that will be sent by the e-mail activity.
 java.lang.Integer getEmailPromotionId()
          Gets the e-mail promotion ID that acts as the key to the e-mail activity.
 java.lang.Long getJobReferenceNumber()
          Gets the jobReferenceNumber that will launch the e-mail activity.
 java.lang.Long getMemberGroupId()
          Gets the member group ID (customer profile) that will receive the e-mail activity.
 java.lang.String getModifiedBy()
          Gets the logon name of the person who is modifying/creating the e-mail activity.
 java.sql.Timestamp getModifiedDate()
          Gets the time when this e-mail activity is modified.
 java.lang.String getName()
          Gets the name of the e-mail activity.
 java.lang.Integer getStatus()
          Gets the status of the e-mail activity (unsent, sent, deleted)
 java.lang.Integer getStoreEntityId()
          Gets the store ID associated with this 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 status)
          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.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

EmailPromotionSaveTaskCmdImpl

public EmailPromotionSaveTaskCmdImpl()
Method Detail

getDescription

public java.lang.String getDescription()
Gets the description of the e-mail activity.
Returns:
the description.

getEmailMessageId

public java.lang.Integer getEmailMessageId()
Gets the e-mail message ID of the e-mail message that will be sent by the e-mail activity.
Returns:
the e-mail message ID.

getEmailPromotionId

public java.lang.Integer getEmailPromotionId()
Gets the e-mail promotion ID that acts as the key to the e-mail activity.
Specified by:
getEmailPromotionId in interface EmailPromotionSaveTaskCmd
Returns:
the ID.

getJobReferenceNumber

public java.lang.Long getJobReferenceNumber()
Gets the jobReferenceNumber that will launch the e-mail activity.
Returns:
The job reference number.

getMemberGroupId

public java.lang.Long getMemberGroupId()
Gets the member group ID (customer profile) that will receive the e-mail activity.
Returns:
the member group ID.

getModifiedBy

public java.lang.String getModifiedBy()
Gets the logon name of the person who is modifying/creating the e-mail activity.
Returns:
the logon name.

getModifiedDate

public java.sql.Timestamp getModifiedDate()
Gets the time when this e-mail activity is modified.
Returns:
The time when the e-mail activity is last modified.

getName

public java.lang.String getName()
Gets the name of the e-mail activity.
Returns:
the name of the e-mail activity.

getStoreEntityId

public java.lang.Integer getStoreEntityId()
Gets the store ID associated with this e-mail activity.
Returns:
the store ID.

getStatus

public java.lang.Integer getStatus()
Gets the status of the e-mail activity (unsent, sent, deleted)
Returns:
0=unsent, 1=sent, 2=deleted.

setEmailMessageId

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

setEmailPromotionId

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

setJobReferenceNumber

public void setJobReferenceNumber(java.lang.Long jobReferenceNumber)
Sets the JobReferenceNumber of the scheduled job that will launch the e-mail activity
Specified by:
setJobReferenceNumber in interface EmailPromotionSaveTaskCmd
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.
Specified by:
setMemberGroupId in interface EmailPromotionSaveTaskCmd
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.
Specified by:
setModifiedBy in interface EmailPromotionSaveTaskCmd
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
Specified by:
setModifiedDate in interface EmailPromotionSaveTaskCmd
Parameters:
modifiedDate - The time when the e-mail activity is last modified

setStatus

public void setStatus(java.lang.Integer status)
Sets the status of the e-mail activity (unsent, sent, deleted)
Specified by:
setStatus in interface EmailPromotionSaveTaskCmd
Parameters:
status - 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.
Specified by:
setStoreEntityId in interface EmailPromotionSaveTaskCmd
Parameters:
storeEntityId - The store ID.

setName

public void setName(java.lang.String name)
Sets the name of the e-mail activity.
Specified by:
setName in interface EmailPromotionSaveTaskCmd
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.
Specified by:
setDescription in interface EmailPromotionSaveTaskCmd
Parameters:
description - The description of the e-mail activity.