com.ibm.commerce.tools.campaigns

Class CampaignInitiativeScheduleSaveControllerCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.ControllerCommandImpl
            • com.ibm.commerce.tools.command.ToolsControllerCommandImpl
              • com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleSaveControllerCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.security.Protectable, com.ibm.commerce.server.ECConstants, CampaignConstants, CampaignInitiativeScheduleSaveControllerCmd, com.ibm.commerce.tools.command.ToolsControllerCommand, com.ibm.commerce.tools.common.ECToolsConstants, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class CampaignInitiativeScheduleSaveControllerCmdImpl
    extends com.ibm.commerce.tools.command.ToolsControllerCommandImpl
    implements CampaignInitiativeScheduleSaveControllerCmd, com.ibm.commerce.server.ECConstants, com.ibm.commerce.tools.common.ECToolsConstants, CampaignConstants
    This class implements the CampaignInitiativeScheduleSaveControllerCmd interface to provide the controller command that saves campaign initiative schedules. Different implementations of this interface can be provided for different stores. This controller command is mapped to the CampaignInitiativeScheduleSave URL.
    • Field Detail

      • COPYRIGHT

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

      • CampaignInitiativeScheduleSaveControllerCmdImpl

        public CampaignInitiativeScheduleSaveControllerCmdImpl()
    • Method Detail

      • getResources

        public com.ibm.commerce.accesscontrol.AccessVector getResources()
                                                                 throws com.ibm.commerce.exception.ECException
        Gets the resources that are accessed by this controller command. The campaign initiative access beans for the specified campaign initiative IDs are the resource returned by this method.
        Specified by:
        getResources in interface com.ibm.commerce.command.ECCommand
        Overrides:
        getResources in class com.ibm.commerce.command.AbstractECTargetableCommand
        Returns:
        A vector of resources.
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        ECCommand#getResources()
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        The performExecute method is called to when the marketing manager asks to save a campaign initiative schedule.
        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()
      • validateParameters

        public void validateParameters()
                                throws com.ibm.commerce.exception.ECException
        Parses and validates the parameters passed to this controller command. The following parameters are valid:
        • xml - An XML document that describes the initiative schedule.
        Specified by:
        validateParameters in interface com.ibm.commerce.command.ECCommand
        Overrides:
        validateParameters in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        ECCommand#validateParameters()