com.ibm.commerce.tools.campaigns

Interface CampaignCollateralDeleteCmd

  • 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:
    CampaignCollateralDeleteCmdImpl


    public interface CampaignCollateralDeleteCmd
    extends com.ibm.commerce.command.TaskCommand
    The CampaignCollateralDeleteCmd interface must be implemented to provide a task command that deletes ad copy. 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.CampaignCollateralDeleteCmd 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 getCollateralId()
      Gets unique id of Collateral object
      void setCollateralId(java.lang.Integer collateralId)
      Sets the collateral ID.
      • 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.CampaignCollateralDeleteCmd is not defined in the CMDREG table.
        See Also:
        Constant Field Values
    • Method Detail

      • getCollateralId

        java.lang.Integer getCollateralId()
        Gets unique id of Collateral object
        Returns:
        Unique collateral id
      • setCollateralId

        void setCollateralId(java.lang.Integer collateralId)
        Sets the collateral ID. This parameter is required.
        Parameters:
        collateralId - The ID of the collateral to be deleted.