com.ibm.commerce.emarketing.utils

Class EmailActivityScheduleJobCreator

  • java.lang.Object
    • com.ibm.commerce.emarketing.utils.EmailActivityScheduleJobCreator


  • public class EmailActivityScheduleJobCreator
    extends java.lang.Object
    A helper class to create scheduler jobs for e-mail activities.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.Long createScheduleJobForActivity(java.lang.Integer emlpromo_id, java.lang.String redirectURL, java.lang.Integer storeEntityId, java.sql.Timestamp deliverTime, com.ibm.commerce.command.CommandContext commandContext)
      Creates scheduler job to send e-mail activity.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • EmailActivityScheduleJobCreator

        public EmailActivityScheduleJobCreator()
    • Method Detail

      • createScheduleJobForActivity

        public static java.lang.Long createScheduleJobForActivity(java.lang.Integer emlpromo_id,
                                                                  java.lang.String redirectURL,
                                                                  java.lang.Integer storeEntityId,
                                                                  java.sql.Timestamp deliverTime,
                                                                  com.ibm.commerce.command.CommandContext commandContext)
                                                           throws com.ibm.commerce.exception.ECException
        Creates scheduler job to send e-mail activity.
        Parameters:
        emlpromo_id - The ID of the e-mail activity.
        redirectURL - The redirect URL.
        storeEntityId - The store ID.
        deliverTime - The time when the scheduled job runs.
        commandContext - The command context passed into the scheduled job.
        Returns:
        The ID of the scheduler job created.
        Throws:
        com.ibm.commerce.exception.ECException - Thrown by the WebSphere Commerce Application Server.