com.ibm.commerce.tools.campaigns

Class CampaignEmsUpdateCmdImpl

  • 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.tools.campaigns.CampaignEmsUpdateCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, CampaignEmsUpdateCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class CampaignEmsUpdateCmdImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements CampaignEmsUpdateCmd
    This class implements the CampaignEmsUpdateCmd interface to provide the task command that updates an e-Marketing Spot. Different implementations of this interface can be provided for different stores.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isReadyToCallExecute()
      Checks to see if the command is ready to call.
      void performExecute()
      Performs the execution of the command.
      void setEmsDescription(java.lang.String description)
      Sets the e-Marketing Spot description.
      void setEmsId(java.lang.Integer id)
      Sets the e-Marketing Spot ID.
      void setEmsName(java.lang.String name)
      Sets the e-Marketing Spot name.
      void setSupportedTypes(java.lang.String supportedTypes)
      Sets the e-Marketing Spot supported types.
      void setUsageType(java.lang.String usageType)
      Sets the usage type of the e-Marketing Spot.
      • 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, 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, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CampaignEmsUpdateCmdImpl

        public CampaignEmsUpdateCmdImpl()
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Checks to see if the command is ready to call. This method will return false if the e-Marketing Spot ID is null.
        Overrides:
        isReadyToCallExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Returns:
        true if the command is ready to go.
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Performs the execution of the command.
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        ECCommand#performExecute()
      • setEmsDescription

        public void setEmsDescription(java.lang.String description)
        Sets the e-Marketing Spot description.
        Specified by:
        setEmsDescription in interface CampaignEmsUpdateCmd
        Parameters:
        description - The description of the e-Marketing Spot.
      • setEmsId

        public void setEmsId(java.lang.Integer id)
        Sets the e-Marketing Spot ID.
        Specified by:
        setEmsId in interface CampaignEmsUpdateCmd
        Parameters:
        id - The ID of the e-Marketing Spot.
      • setEmsName

        public void setEmsName(java.lang.String name)
        Sets the e-Marketing Spot name.
        Specified by:
        setEmsName in interface CampaignEmsUpdateCmd
        Parameters:
        name - The name of the e-Marketing Spot.
      • setSupportedTypes

        public void setSupportedTypes(java.lang.String supportedTypes)
        Sets the e-Marketing Spot supported types.
        Specified by:
        setSupportedTypes in interface CampaignEmsUpdateCmd
        Parameters:
        supportedTypes - The supported types of the e-Marketing Spot.
      • setUsageType

        public void setUsageType(java.lang.String usageType)
        Sets the usage type of the e-Marketing Spot.
        Specified by:
        setUsageType in interface CampaignEmsUpdateCmd
        Parameters:
        usageType - The usage type of the e-Marketing Spot.