com.ibm.commerce.tools.campaigns

Interface CampaignInitiativeScheduleAddCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    CampaignInitiativeScheduleAddCmdImpl


    public interface CampaignInitiativeScheduleAddCmd
    extends com.ibm.commerce.command.TaskCommand
    The CampaignInitiativeScheduleAddCmd interface must be implemented to provide a task command that schedules an initiative onto an e-Marketing Spot. Different implementations of this interface can be provided for different stores.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
      static java.lang.String defaultCommandClassName
      defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleAddCmd is not defined in the CMDREG table.
      static java.lang.String Name
      The name of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Integer getInitiativeScheduleId()
      Returns the initiaive schedule ID of the newly created initiative schedule.
      void setCollateralId(java.lang.Integer collateralId)
      Sets the collateral ID of the initiative schedule.
      void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
      Sets the e-Marketing Spot ID of the initiative schedule.
      void setEndDate(java.sql.Timestamp endDate)
      Sets the end date of the initiative schedule.
      void setInitiativeId(java.lang.Integer initiativeId)
      Sets the initiative ID of the initiative schedule.
      void setPriority(java.lang.Integer priority)
      Sets the priority of the initiative schedule.
      void setStartDate(java.sql.Timestamp startDate)
      Sets the start date of the initiative schedule.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleAddCmd is not defined in the CMDREG table.
        See Also:
        Constant Field Values
    • Method Detail

      • getInitiativeScheduleId

        java.lang.Integer getInitiativeScheduleId()
        Returns the initiaive schedule ID of the newly created initiative schedule. You must execute this task command before accessing this value.
        Returns:
        An integer of the initiative schedule ID.
      • setCollateralId

        void setCollateralId(java.lang.Integer collateralId)
        Sets the collateral ID of the initiative schedule.
        Parameters:
        collateralId - The collateral ID of the initiative schedule.
      • setEMarketingSpotId

        void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
        Sets the e-Marketing Spot ID of the initiative schedule.
        Parameters:
        eMarketingSpotId - The e-Marketing Spot ID of the initiative schedule.
      • setEndDate

        void setEndDate(java.sql.Timestamp endDate)
        Sets the end date of the initiative schedule.
        Parameters:
        endDate - The end date of the initiative schedule.
      • setInitiativeId

        void setInitiativeId(java.lang.Integer initiativeId)
        Sets the initiative ID of the initiative schedule.
        Parameters:
        initiativeId - The initiative ID of the initiative schedule.
      • setPriority

        void setPriority(java.lang.Integer priority)
        Sets the priority of the initiative schedule.
        Parameters:
        priority - The priority of the initiative schedule.
      • setStartDate

        void setStartDate(java.sql.Timestamp startDate)
        Sets the start date of the initiative schedule.
        Parameters:
        startDate - The start date of the initiative schedule.