com.ibm.commerce.rules.likeminds
Interface WCSRecommendationServer
- public interface WCSRecommendationServer
Helper classes can be created to retrieve recommendations from external servers.
These helper classes must implement this interface. The new helper class can
then be imported into Blaze and used to get recommendations from an alternate source.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
java.util.Vector |
getRecommendations(CommandContext cmdContext,
int maxNumOfRecommendations,
java.lang.Long[] initialItems,
java.lang.Long[] categoryId)
This method is used to retrieve recommendations for the WCS user specified in the cmdContext. |
COPYRIGHT
public static final java.lang.String COPYRIGHT
getRecommendations
public java.util.Vector getRecommendations(CommandContext cmdContext,
int maxNumOfRecommendations,
java.lang.Long[] initialItems,
java.lang.Long[] categoryId)
- This method is used to retrieve recommendations for the WCS user specified in the cmdContext.
- Parameters:
cmdContext
- com.ibm.commerce.command.CommandContext The WCS CommandContext.maxNumOfRecommendations
- int The maximum number of recommendations this recommendation class should return.initialItems
- java.lang.Long[] The default items to return, if no items are found by this recommendation class. This can be null.categoryId
- java.lang.Long[][] The categoryIds of categories of from which items should be recommended. This can be null.- Returns:
- Vector A vector of Long objects