com.ibm.commerce.marketing.commands.elements

Class TimeTargetTaskCmdImpl

    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String CLASSNAME
        The name of this class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TimeTargetTaskCmdImpl

        public TimeTargetTaskCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
        This method evaluates the time target.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class MarketingCampaignElementTaskCmdImpl
      • getUserTime

        public java.util.Calendar getUserTime()
        This method gets the user's current time and date to be compared against the valid ranges for this target. *
        Returns:
        This default implementation returns the current System time.
      • 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 valid days and times.
        Specified by:
        validateParameters in interface MarketingCampaignElementTaskCmd
        Overrides:
        validateParameters in class MarketingCampaignElementTaskCmdImpl
        Parameters:
        elementParameters - The name value pairs for this element.
        Returns:
        This method returns a list of ApplicationError exceptions that contains any validation errors. The list may be empty or be null.