com.ibm.commerce.marketing.cache

Interface GetMarketingSpotBehaviorCmd

  • All Superinterfaces:
    com.ibm.websphere.command.Command, java.io.Serializable
    All Known Implementing Classes:
    GetMarketingSpotBehaviorCmdImpl


    public interface GetMarketingSpotBehaviorCmd
    extends com.ibm.websphere.command.Command
    This command checks for the caching behavior for an e-Marketing Spot. If the e-Marketing Spot is static, then the same results are displayed to all customers. If the e-Marketing Spot is dynamic, then the same customer may see different results or other customers may see different results.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CLASSNAME
      The name of this class.
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String defaultCommandClassName
      Default implementation class for this command.
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getMarketingSpotBehavior()
      This method gets the caching behavior for the e-Marketing Spot.
      int getNextTimeLimit()
      This method gets the number of seconds from now of the earliest start date or end date of activities scheduled to the e-Marketing Spot.
      void setMarketingSpotNameList(java.util.List emsNames)
      This method sets the names of the e-Marketing Spots for which to check the caching behavior.
      void setStoreId(java.lang.Integer storeId)
      This method sets the store ID.
      • Methods inherited from interface com.ibm.websphere.command.Command

        execute, isReadyToCallExecute, reset
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String CLASSNAME
        The name of this class.
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Default implementation class for this command.
    • Method Detail

      • setMarketingSpotNameList

        void setMarketingSpotNameList(java.util.List emsNames)
        This method sets the names of the e-Marketing Spots for which to check the caching behavior.
        Parameters:
        emsNames - The names of the e-Marketing Spots.
      • getMarketingSpotBehavior

        java.lang.String getMarketingSpotBehavior()
        This method gets the caching behavior for the e-Marketing Spot.
        Returns:
        This method returns a value of 1 if the e-Marketing Spot is dynamic, and a value of 0 if it is static.
      • getNextTimeLimit

        int getNextTimeLimit()
        This method gets the number of seconds from now of the earliest start date or end date of activities scheduled to the e-Marketing Spot.
        Returns:
        This method returns the number of seconds from now of the earliest start date or end date of activities scheduled to the e-Marketing Spot. If there are no activities, or no start or end dates, then a value of 0 is returned.
      • setStoreId

        void setStoreId(java.lang.Integer storeId)
        This method sets the store ID. If the store ID is not set on the command, it will be determined from the current context.
        Parameters:
        storeId - The store ID.