public class RankingBrowsedProductCmdImpl extends BehaviorRuleTaskCmdImpl implements RankingBrowsedProductCmd
RankingBrowsedProductCmdImpl
class is the implementation of
RankingBrowsedProductCmd
interface. It will be called when a
customer browses a product under the specified category associated with
a Display Top Browsed campaign element. It will call the method
MarketingEngineCache.singleton().putRankingStatistic
to persist
the data to the DMRANKINGSTAT database table. Subsequently, the GenerateRankingPolicyCmd
command will use these statistics to generate the Top Browsed ranking list.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
PARAM_PRODUCT_ID
Constant for trigger parameter "productId".
|
static java.lang.String |
PARAM_STORE_ID
Constant for trigger parameter "storeId".
|
CLASSNAME
defaultCommandClassName
Constructor and Description |
---|
RankingBrowsedProductCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method calls the method
MarketingEngineCache.singleton().putRankingStatistic
to persist the browse event to the DMRANKINGSTAT database table. |
getParentCategoriesOfCategory, getParentCategoriesOfProduct, getReferralUrl, getTriggerParameters, getUserBehaviorRule, isReadyToCallExecute, setParentCategoriesOfCategory, setParentCategoriesOfProduct, setReferralUrl, setTriggerParameters, setUserBehaviorRule
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setParentCategoriesOfCategory, setParentCategoriesOfProduct, setReferralUrl, setTriggerParameters, setUserBehaviorRule
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public static final java.lang.String PARAM_PRODUCT_ID
public static final java.lang.String PARAM_STORE_ID
public void performExecute()
MarketingEngineCache.singleton().putRankingStatistic
to persist the browse event to the DMRANKINGSTAT database table.performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class BehaviorRuleTaskCmdImpl