Class WaitTriggerTaskCmdImpl

    • 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.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WaitTriggerTaskCmdImpl

        public WaitTriggerTaskCmdImpl()
    • Method Detail

      • getBaseDate

        public java.lang.String getBaseDate()
        This method returns the base date to use for setting up the wait trigger. If this method returns null, then the current time will be used as the base. This method can be used in a customization if the base date needs to be determined for another business object. For example, if the activity is associated with a gift registry, then you may want to set up the wait trigger for 1 month before the wedding, on the day of the wedding, and 1 month after the wedding. This method can then be implemented to return the wedding date associated with the gift registry.
        Specified by:
        getBaseDate in interface WaitTriggerTaskCmd
        This method returns a String representing a timestamp for the base date to use when setting up the wait trigger.
      • 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 durationUnits with durationValue, or baseDate.
        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.