com.ibm.commerce.emarketing.commands

Class EmailPromotionSaveTaskCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.TaskCommandImpl
            • com.ibm.commerce.emarketing.commands.EmailPromotionSaveTaskCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, EmailPromotionSaveTaskCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command
    Direct Known Subclasses:
    EmailPromotionCreateTaskCmdImpl, EmailPromotionUpdateTaskCmdImpl


    public abstract class EmailPromotionSaveTaskCmdImpl
    extends com.ibm.commerce.command.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.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
      • Fields inherited from interface com.ibm.commerce.command.CacheableECCommand

        defaultCommandClassName
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getCampaignId()
      Gets the campaign ID (campaign) to which the e-mail activity is associated.
      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 segment) that will receive the e-mail activity.
      java.lang.String getModifiedBy()
      Gets the logon name of the person who is modifying or creating the e-mail activity.
      java.sql.Timestamp getModifiedDate()
      Gets the time when this e-mail activity was modified.
      java.lang.String getName()
      Gets the name of the e-mail activity.
      java.lang.String getReplyTo()
      Gets the reply-to e-mail address specified for this 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 setCampaignId(java.lang.Integer campaignId)
      Sets the campaign ID of the campaign to which the e-mail activity is associated.
      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 segment that will receive the e-mail activity.
      void setModifiedBy(java.lang.String modifiedBy)
      Sets the user logon name of the person who modified or created the e-mail activity.
      void setModifiedDate(java.sql.Timestamp modifiedDate)
      Sets the date when this e-mail activity was modified.
      void setName(java.lang.String name)
      Sets the name of the e-mail activity.
      void setReplyTo(java.lang.String replyTo)
      Sets the reply-to email address of the email 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 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

        accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

    • Constructor Detail

      • EmailPromotionSaveTaskCmdImpl

        public EmailPromotionSaveTaskCmdImpl()
    • Method Detail

      • getCampaignId

        public java.lang.Integer getCampaignId()
        Gets the campaign ID (campaign) to which the e-mail activity is associated.
        Returns:
        The campaign ID.
      • 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 segment) 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 or creating the e-mail activity.
        Returns:
        The logon name.
      • getModifiedDate

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

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

        public java.lang.String getReplyTo()
        Gets the reply-to e-mail address specified for this e-mail activity.
        Returns:
        the reply-to e-mail address.
      • getStatus

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

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

        public void setCampaignId(java.lang.Integer campaignId)
        Sets the campaign ID of the campaign to which the e-mail activity is associated.
        Specified by:
        setCampaignId in interface EmailPromotionSaveTaskCmd
        Parameters:
        campaignId - The campaign ID.
      • 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.
      • 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 segment 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 or created the e-mail activity.
        Specified by:
        setModifiedBy in interface EmailPromotionSaveTaskCmd
        Parameters:
        modifiedBy - The user who modified or created the e-mail activity.
      • setModifiedDate

        public void setModifiedDate(java.sql.Timestamp modifiedDate)
        Sets the date when this e-mail activity was modified.
        Specified by:
        setModifiedDate in interface EmailPromotionSaveTaskCmd
        Parameters:
        modifiedDate - The time when the e-mail activity was last modified.
      • 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.
      • setReplyTo

        public void setReplyTo(java.lang.String replyTo)
        Sets the reply-to email address of the email activity.
        Specified by:
        setReplyTo in interface EmailPromotionSaveTaskCmd
        Parameters:
        replyTo - The reply-to email address of the email activity.
      • 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:
        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.
        Specified by:
        setStoreEntityId in interface EmailPromotionSaveTaskCmd
        Parameters:
        storeEntityId - The store ID.