Class ReturnNvpActionTaskCmdImpl

  • All Implemented Interfaces:
    MarketingCampaignElementTaskCmd, ReturnNvpActionTaskCmd,,,,,,

    public class ReturnNvpActionTaskCmdImpl
    extends MarketingCampaignElementTaskCmdImpl
    implements ReturnNvpActionTaskCmd
    This command sets which data should be returned to an e-Marketing Spot. This can be any name value pair which provides information to the e-Marketing Spot JSP snippet. In the SDO returned in the Get MarketingSpotData service, there will be a BaseMarketingSpotActivityDataType with a data type of DM_NVP and a unique ID of DM_NVP. The name value pairs will be in the properties element. For example, if a name value pair is set with the name ABC, then the following code can retrieve the value in the e-Marketing Spot JSP snippet.
    See Also:
    Serialized Form
    • Field Detail


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

        public static final java.lang.String CLASSNAME
        The name of this class.
    • Constructor Detail

      • ReturnNvpActionTaskCmdImpl

        public ReturnNvpActionTaskCmdImpl()
        This method is the default constructor. It currently performs no actions.
    • Method Detail

      • performExecute

        public void performExecute()
        This method sets which data should be returned to an e-Marketing Spot.
        Specified by:
        performExecute in interface
        performExecute in class MarketingCampaignElementTaskCmdImpl
      • validateParameters

        public java.util.List validateParameters(java.util.Map elementParameters)
        This method validates that all the required name value pairs have been set for the campaign element. It checks for nvpName and nvpValue.
        Specified by:
        validateParameters in interface MarketingCampaignElementTaskCmd
        validateParameters in class MarketingCampaignElementTaskCmdImpl
        elementParameters - The name value pairs for this element.
        This method returns a list of ApplicationError exceptions that contains any validation errors. The list may be empty or be null.