com.ibm.commerce.marketingcenter.events.dbobjects

Class CpgnStats

  • java.lang.Object
    • com.ibm.commerce.marketingcenter.events.dbobjects.CpgnStats
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      java.lang.Integer intv_id
      Initiative ID.
      java.lang.Integer mpe_id
      MPE ID.
      java.lang.Integer storeent_id
      Store entity ID.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CpgnStats()
      Constructor for CpgnStats.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addClick(java.util.Hashtable h)
      This method will update a record in the CPGNSTATS table.
      void addClick(java.lang.Integer mpeId, java.lang.Integer initiativeId, java.lang.Integer storeId)
      This method will update a record in the CPGNSTATS table.
      void addClick(com.ibm.commerce.datatype.TypedProperty tp)
      This method will update a record in the CPGNSTATS table.
      void addClick(com.ibm.commerce.datatype.TypedProperty tp, java.lang.Integer storeIdentifier)
      This method will update a record in the CPGNSTATS table.
      java.lang.Integer getInitiativeId()
      Gets the initiative ID recorded in the current event.
      java.lang.Integer getMpeId()
      Gets the MPE ID recorded in the current event.
      java.lang.Integer getStoreId()
      Gets the store ID recorded in the current event.
      void setInitiativeId(java.lang.Integer newIntv_id)
      Sets the initiative ID recorded in the current event.
      void setMpeId(java.lang.Integer newMpe_id)
      Sets the MPE ID recorded in the current event.
      void setStoreId(java.lang.Integer newStore_id)
      Sets the store ID recorded in the current event.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

        public java.lang.Integer intv_id
        Initiative ID.
      • mpe_id

        public java.lang.Integer mpe_id
        MPE ID.
      • storeent_id

        public java.lang.Integer storeent_id
        Store entity ID.
    • Constructor Detail

      • CpgnStats

        public CpgnStats()
        Constructor for CpgnStats.
    • Method Detail

      • addClick

        public void addClick(java.util.Hashtable h)
        This method will update a record in the CPGNSTATS table. If a a record is not found, no work will be done. If a record exists, the click count (# times a recommendation was clicked by the user) is incremented.
        Specified by:
        addClick in interface MktgClickEventHandler
        Parameters:
        h - The Hashtable that contains all the column=value pairs that are components of the primary key. The Hashtable key names should be the same names as in the database table. The type should also be the same (e.g. Integer).
      • addClick

        public void addClick(java.lang.Integer mpeId,
                             java.lang.Integer initiativeId,
                             java.lang.Integer storeId)
        This method will update a record in the CPGNSTATS table. If a a record is not found, no work will be done. If a record exists, the click count (# times a recommendation was clicked by the user) is incremented.
        Parameters:
        mpeId - The MPE identifier
        initiativeId - The initiative identifer.
        storeId - The store identifer.
      • addClick

        public void addClick(com.ibm.commerce.datatype.TypedProperty tp)
        This method will update a record in the CPGNSTATS table. If a a record is not found, no work will be done. If a record exists, the click count (# times a recommendation was clicked by the user) is incremented.
        Specified by:
        addClick in interface MktgClickEventHandler
        Parameters:
        tp - The TypedProperty that contains all the column=value pairs that are components of the primary key. The TypedProperty key names should be the same names as in the database table. The type should also be the same (e.g. Integer).
      • addClick

        public void addClick(com.ibm.commerce.datatype.TypedProperty tp,
                             java.lang.Integer storeIdentifier)
        This method will update a record in the CPGNSTATS table. If a a record is not found, no work will be done. If a record exists, the click count (# times a recommendation was clicked by the user) is incremented.
        Specified by:
        addClick in interface MktgClickEventHandler
        Parameters:
        tp - The TypedProperty that contains all the column=value pairs that are components of the primary key. The TypedProperty key names should be the same names as in the database table. The type should also be the same (e.g. Integer).
        storeIdentifier - Not used since this is not a component of the primary key.
      • getInitiativeId

        public java.lang.Integer getInitiativeId()
        Gets the initiative ID recorded in the current event.
        Returns:
        initiative ID
      • getMpeId

        public java.lang.Integer getMpeId()
        Gets the MPE ID recorded in the current event.
        Returns:
        MPE ID
      • getStoreId

        public java.lang.Integer getStoreId()
        Gets the store ID recorded in the current event.
        Returns:
        store ID
      • setInitiativeId

        public void setInitiativeId(java.lang.Integer newIntv_id)
        Sets the initiative ID recorded in the current event.
        Parameters:
        newIntv_id - initiative ID
      • setMpeId

        public void setMpeId(java.lang.Integer newMpe_id)
        Sets the MPE ID recorded in the current event.
        Parameters:
        newMpe_id - MPE ID
      • setStoreId

        public void setStoreId(java.lang.Integer newStore_id)
        Sets the store ID recorded in the current event.
        Parameters:
        newStore_id - store ID