com.ibm.commerce.likeminds
Class LMEventHelper

java.lang.Object
  |
  +--com.ibm.commerce.likeminds.LMEventHelper

public class LMEventHelper
extends java.lang.Object

Generates a LikeMinds Event.


Constructor Summary
LMEventHelper()
          Creates an LMEventHelper object.
 
Method Summary
static void generateEvent(java.lang.String eventName, java.lang.Long catentryId, java.lang.Integer value, CommandContext commandContext)
          Generates a LikeMinds Event.
static void generateEvent(java.lang.String eventName, java.lang.Long catentryId, java.lang.Long categoryId, java.lang.Integer value, CommandContext commandContext)
          Generates a LikeMinds Event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LMEventHelper

public LMEventHelper()
Creates an LMEventHelper object.
Method Detail

generateEvent

public static void generateEvent(java.lang.String eventName,
                                 java.lang.Long catentryId,
                                 java.lang.Integer value,
                                 CommandContext commandContext)
Generates a LikeMinds Event.
Parameters:
eventName - The name of the event to generate.
catentryId - The catalogEntryId for which the event is to be generated.
categoryId - The categoryId to which the product belongs.
value - The number of catalogEntries involved with this event.
commandContext - The command context.

generateEvent

public static void generateEvent(java.lang.String eventName,
                                 java.lang.Long catentryId,
                                 java.lang.Long categoryId,
                                 java.lang.Integer value,
                                 CommandContext commandContext)
Generates a LikeMinds Event.
Parameters:
eventName - The name of the event to generate.
catentryId - The catalogEntryId for which the event is to be generated.
value - The number of catalogEntries involved with this event.
commandContext - The command context.