com.ibm.commerce.marketingcenter.events.dbobjects

Class OrdersMgp

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

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      java.lang.Long memberGroupId
      Member group ID.
      java.lang.Long ordersId
      Orders ID.
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addEvent()
      This method will persist/update a record in the ORDERSMGP table.
      void addEvent(java.util.Hashtable h)
      This method will persist/update a record in the ORDERSMGP table.
      void addEvent(java.lang.Long anOrdersId, java.lang.Long aMemberGroupId)
      This method will persist/update a record in the ORDERSMGP table.
      void addEvent(com.ibm.commerce.datatype.TypedProperty tp)
      This method will persist/update a record in the ORDERSMGP table.
      void addEvent(com.ibm.commerce.datatype.TypedProperty tp, java.lang.Integer anInt)
      This method will persist/update a record in the ORDERSMGP table.
      java.lang.Long getMemberGroupId()
      Gets the member group ID recorded in the current event.
      java.lang.Long getOrdersId()
      Gets the order ID recorded in the current event.
      void persistEvent()
      Persists the current event by inserting the event details into the database.
      • 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
      • memberGroupId

        public java.lang.Long memberGroupId
        Member group ID.
      • ordersId

        public java.lang.Long ordersId
        Orders ID.
    • Constructor Detail

      • OrdersMgp

        public OrdersMgp()
        Constructor for OrdersMgp.
    • Method Detail

      • addEvent

        public void addEvent()
        This method will persist/update a record in the ORDERSMGP table. If a a record is not found, one will be created with the counters set to 0. If a record exists, the view count is incremented. The caller must do all the setXXX prior to calling this.
      • addEvent

        public void addEvent(java.util.Hashtable h)
        This method will persist/update a record in the ORDERSMGP table. If a a record is not found, one will be created with the counters set to 0. If a record exists, the view count is incremented.
        Specified by:
        addEvent in interface MktgLogEventHandler
        Parameters:
        h - The Hashtable that contains all the column=value pairs. The key name should be the same name as in the database table. The type should also be the same (e.g. Integer).
      • addEvent

        public void addEvent(java.lang.Long anOrdersId,
                             java.lang.Long aMemberGroupId)
        This method will persist/update a record in the ORDERSMGP table. If a a record is not found, one will be created with the counters set to 0. If a record exists, the view count is incremented.
        Parameters:
        anOrdersId - the order ID to be persisted
        aMemberGroupId - the member group ID to be persisted
      • addEvent

        public void addEvent(com.ibm.commerce.datatype.TypedProperty tp)
        This method will persist/update a record in the ORDERSMGP table. If a a record is not found, one will be created with the counters set to 0. If a record exists, the view count is incremented.
        Specified by:
        addEvent in interface MktgLogEventHandler
        Parameters:
        tp - The TypedProperty that contains all the column=value pairs. The key name should be the same name as in the database table. The type should also be the same (e.g. Integer).
      • addEvent

        public void addEvent(com.ibm.commerce.datatype.TypedProperty tp,
                             java.lang.Integer anInt)
        This method will persist/update a record in the ORDERSMGP table. If a a record is not found, one will be created with the counters set to 0. If a record exists, the view count is incremented.
        Specified by:
        addEvent in interface MktgLogEventHandler
        Parameters:
        tp - The TypedProperty that contains all the column=value pairs. The key name should be the same name as in the database table. The type should also be the same (e.g. Integer).
        anInt - optional Integer type parameter
      • getMemberGroupId

        public java.lang.Long getMemberGroupId()
        Gets the member group ID recorded in the current event.
        Returns:
        member group ID
      • getOrdersId

        public java.lang.Long getOrdersId()
        Gets the order ID recorded in the current event.
        Returns:
        order ID
      • persistEvent

        public void persistEvent()
        Persists the current event by inserting the event details into the database.