C# Class SpringMvc.Models.Suggestions.Services.Implementation.RecommendationForUser

Inheritance: IRecommendationEngine
显示文件 Open project: krzysiuk12/SpringMvc Class Usage Examples

Public Methods

Method Description
GenerateRecommendation ( ) : IEnumerable
RecommendationForUser ( IServiceLocator serviceLocator, long userID, Nullable categoryID ) : System

Private Methods

Method Description
fillUpWithRandom ( List list ) : void
generateWithCategory ( List list, long categoryId ) : void
generateWithoutCategory ( List list ) : void

Method Details

GenerateRecommendation() public method

public GenerateRecommendation ( ) : IEnumerable
return IEnumerable

RecommendationForUser() public method

public RecommendationForUser ( IServiceLocator serviceLocator, long userID, Nullable categoryID ) : System
serviceLocator IServiceLocator
userID long
categoryID Nullable
return System