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

Inheritance: IRecommendationEngine
Show file Open project: krzysiuk12/SpringMvc Class Usage Examples

Public Methods

Method Description
GenerateRecommendation ( ) : IEnumerable
RecommendationForGuest ( IServiceLocator serviceLocator, Nullable categoryID ) : System

Private Methods

Method Description
fillUpWithRandom ( List list ) : void
generateWithCategory ( List list ) : void
generateWithoutCategory ( List list ) : void
isCacheValid ( ) : System.Boolean
updateCache ( ) : void

Method Details

GenerateRecommendation() public method

public GenerateRecommendation ( ) : IEnumerable
return IEnumerable

RecommendationForGuest() public method

public RecommendationForGuest ( IServiceLocator serviceLocator, Nullable categoryID ) : System
serviceLocator IServiceLocator
categoryID Nullable
return System