com.ibm.commerce.tools.campaigns

Class CampaignInitiativeCache.CachedEMarketingSpot

  • java.lang.Object
    • com.ibm.commerce.tools.campaigns.CampaignInitiativeCache.CachedEMarketingSpot
  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    CampaignInitiativeCache


    public static final class CampaignInitiativeCache.CachedEMarketingSpot
    extends java.lang.Object
    implements java.io.Serializable
    The inner class CachedEMarketingSpot contains the content of the cached e-Marketing Spot.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      CachedEMarketingSpot(java.lang.Integer eMarketingSpotId, java.lang.String eMarketingSpotName, java.lang.Integer storeId, java.lang.String usage)
      This constructor takes the content of a cached e-Marketing Spot.
      CachedEMarketingSpot(java.lang.Integer eMarketingSpotId, java.lang.String eMarketingSpotName, java.lang.Integer storeId, java.lang.String usage, java.lang.Short uiDisplayable)
      This constructor takes the content of a cached e-Marketing Spot.
      CachedEMarketingSpot(java.lang.Integer eMarketingSpotId, java.lang.String eMarketingSpotName, java.lang.Integer storeId, java.util.Vector schedule)
      This constructor takes the content of a cached e-Marketing Spot.
      CachedEMarketingSpot(java.lang.Integer eMarketingSpotId, java.lang.String eMarketingSpotName, java.lang.Integer storeId, java.util.Vector schedule, java.util.Vector defaultContent)
      This constructor takes the content of a cached e-Marketing Spot.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.sql.Timestamp getEarliestScheduleExpiry()
      Returns the time the first schedule assigned to this eMarketingSpot will expire.
      long getObjectSize()
      Returns the estimated footprint size in bytes of this object and the objects it contains.
      void setDefaultContentMarketingSpotBehavior(java.lang.String value)
      This method sets the marketing spot behavior of the default content assigned to the spot.
      java.lang.String toString()
      This method returns a string with the definition of the e-Marketing spot.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _defaultContent

        public java.util.Vector _defaultContent
        This is no longer used. See MarketingEngineCache.getMarketingSpotDefaultContent
      • _defaultContentMarketingSpotBehavior

        public java.lang.String _defaultContentMarketingSpotBehavior
        The marketing spot behavior of the default content assigned to the spot
      • _eMarketingSpotId

        public java.lang.Integer _eMarketingSpotId
        E-Marketing Spot ID.
      • _eMarketingSpotName

        public java.lang.String _eMarketingSpotName
        E-Marketing Spot name.
      • _schedule

        public java.util.Vector _schedule
        List of schedules associated with the e-Marketing Spot.
      • _storeId

        public java.lang.Integer _storeId
        E-Marketing Spot store ID.
      • _uiDisplayable

        public boolean _uiDisplayable
        UI displayable.
      • _usage

        public java.lang.String _usage
        E-Marketing Spot usage.
    • Constructor Detail

      • CachedEMarketingSpot

        public CachedEMarketingSpot(java.lang.Integer eMarketingSpotId,
                                    java.lang.String eMarketingSpotName,
                                    java.lang.Integer storeId,
                                    java.lang.String usage)
        This constructor takes the content of a cached e-Marketing Spot.
        Parameters:
        eMarketingSpotId - The ID of the cached e-Marketing Spot.
        eMarketingSpotName - The name of the cached e-Marketing Spot.
        storeId - The ID of the store that the cached e-Marketing Spot.
        usage - The e-Marketing Spot usage.
      • CachedEMarketingSpot

        public CachedEMarketingSpot(java.lang.Integer eMarketingSpotId,
                                    java.lang.String eMarketingSpotName,
                                    java.lang.Integer storeId,
                                    java.lang.String usage,
                                    java.lang.Short uiDisplayable)
        This constructor takes the content of a cached e-Marketing Spot.
        Parameters:
        eMarketingSpotId - The ID of the cached e-Marketing Spot.
        eMarketingSpotName - The name of the cached e-Marketing Spot.
        storeId - The ID of the store that the cached e-Marketing Spot.
        usage - The e-Marketing Spot usage.
        uiDisplayabe - Show the e-Marketing Spot on the UI. Null or 1 means it is displayable on the UI. 0 means it is not displayable on the UI.
      • CachedEMarketingSpot

        public CachedEMarketingSpot(java.lang.Integer eMarketingSpotId,
                                    java.lang.String eMarketingSpotName,
                                    java.lang.Integer storeId,
                                    java.util.Vector schedule)
        This constructor takes the content of a cached e-Marketing Spot.
        Parameters:
        eMarketingSpotId - The ID of the cached e-Marketing Spot.
        eMarketingSpotName - The name of the cached e-Marketing Spot.
        storeId - The ID of the store that the cached e-Marketing Spot.
        schedule - The list of schedules associated with the cached e-Marketing Spot.
      • CachedEMarketingSpot

        public CachedEMarketingSpot(java.lang.Integer eMarketingSpotId,
                                    java.lang.String eMarketingSpotName,
                                    java.lang.Integer storeId,
                                    java.util.Vector schedule,
                                    java.util.Vector defaultContent)
        This constructor takes the content of a cached e-Marketing Spot.
        Parameters:
        eMarketingSpotId - The ID of the cached e-Marketing Spot.
        eMarketingSpotName - The name of the cached e-Marketing Spot.
        storeId - The ID of the store that the cached e-Marketing Spot.
        schedule - The list of schedules associated with the cached e-Marketing Spot.
        defaultContent - A Vector of EMarketingSpotDataBeans that contain the default content to display in an eMarketing Spot. This is no longer used. See MarketingEngineCache.getMarketingSpotDefaultContent.
    • Method Detail

      • getEarliestScheduleExpiry

        public java.sql.Timestamp getEarliestScheduleExpiry()
        Returns the time the first schedule assigned to this eMarketingSpot will expire.
        Returns:
        A Timestamp representation of the time the first schedule will expire. Will return null if no schedule associated with this eMarketingSpot has an expiration time.
      • getObjectSize

        public long getObjectSize()
        Returns the estimated footprint size in bytes of this object and the objects it contains.
        Returns:
        the estimated footprint size in bytes or -1 if a size cannot be determined.
      • setDefaultContentMarketingSpotBehavior

        public void setDefaultContentMarketingSpotBehavior(java.lang.String value)
        This method sets the marketing spot behavior of the default content assigned to the spot.
        Parameters:
        value - The marketing spot behavior of the default content assigned to the spot.
      • toString

        public java.lang.String toString()
        This method returns a string with the definition of the e-Marketing spot.
        Overrides:
        toString in class java.lang.Object
        Returns:
        This method returns a string with the definition of the e-Marketing spot.