com.ibm.commerce.tools.campaigns

Class CampaignInitiativeCache.CachedInitiative

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


    public static final class CampaignInitiativeCache.CachedInitiative
    extends java.lang.Object
    implements java.io.Serializable
    The inner class CachedInitiative contains the content of the cached initiative.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.Integer _campaignId
      ID of the campaign associated with this initiative.
      java.lang.String _campaignName
      Name of the campaign associated with this initiative.
      java.lang.Integer _initiativeId
      Initiative ID.
      java.lang.String _initiativeName
      Initiative name.
      java.sql.Timestamp _lastUpdateDate
      Initiative last updated date.
      java.lang.String _resultType
      Initiative result type.
      com.ibm.commerce.rule.Rule _rule
      Initiative rule content.
      java.lang.Integer _scheduleId
      Initiative schedule ID.
      java.lang.Integer _schedulePriority
      Schedule priority of this initiative.
      java.lang.String _status
      Initiative status.
      java.lang.Integer _storeId
      Initiative store ID.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CachedInitiative(java.lang.Integer initiativeId, java.lang.String initiativeName, com.ibm.commerce.rule.Rule rule, java.sql.Timestamp lastUpdateDate, java.lang.Integer campaignId, java.lang.String campaignName, java.lang.String resultType, java.lang.String status, java.lang.Integer storeId, java.lang.Integer scheduleId, java.lang.Integer schedulePriority)
      This constructor takes the content of a cached initiative.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      long getObjectSize()
      Returns the estimated footprint size in bytes of this object and the objects it contains.
      • Methods inherited from class java.lang.Object

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

      • _campaignId

        public java.lang.Integer _campaignId
        ID of the campaign associated with this initiative.
      • _campaignName

        public java.lang.String _campaignName
        Name of the campaign associated with this initiative.
      • _initiativeId

        public java.lang.Integer _initiativeId
        Initiative ID.
      • _initiativeName

        public java.lang.String _initiativeName
        Initiative name.
      • _lastUpdateDate

        public java.sql.Timestamp _lastUpdateDate
        Initiative last updated date.
      • _resultType

        public java.lang.String _resultType
        Initiative result type.
      • _rule

        public com.ibm.commerce.rule.Rule _rule
        Initiative rule content.
      • _scheduleId

        public java.lang.Integer _scheduleId
        Initiative schedule ID.
      • _schedulePriority

        public java.lang.Integer _schedulePriority
        Schedule priority of this initiative.
      • _status

        public java.lang.String _status
        Initiative status.
      • _storeId

        public java.lang.Integer _storeId
        Initiative store ID.
    • Constructor Detail

      • CachedInitiative

        public CachedInitiative(java.lang.Integer initiativeId,
                                java.lang.String initiativeName,
                                com.ibm.commerce.rule.Rule rule,
                                java.sql.Timestamp lastUpdateDate,
                                java.lang.Integer campaignId,
                                java.lang.String campaignName,
                                java.lang.String resultType,
                                java.lang.String status,
                                java.lang.Integer storeId,
                                java.lang.Integer scheduleId,
                                java.lang.Integer schedulePriority)
        This constructor takes the content of a cached initiative.
        Parameters:
        initiativeId - The ID of the cached initiative.
        initiativeName - The name of the cached initiative.
        rule - The rule of the cached initiative.
        lastUpdateDate - The last updated date of the cached initiative.
        campaignId - The campaign ID of the cached initiative.
        campaignName - The campaign name of the cached initiative.
        resultType - The result type of the cached initiative.
        status - The status of the cached initiative.
        storeId - The ID of the store that cached the initiative.
        scheduleId - The schedule ID of the cached initiative.
        schedulePriority - The schedule priority of the cached initiative.
    • Method Detail

      • 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.