Package org.apache.unomi.api
Interface PersonalizationStrategy
-
- All Known Implementing Classes:
ControlGroupPersonalizationStrategy
,FilterPersonalizationStrategy
,RandomPersonalizationStrategy
,ScorePersonalizationStrategy
public interface PersonalizationStrategy
Interface for personalization strategies. Will filter and reorder the content list according to the strategy implementation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PersonalizationResult
personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
Filters and personalizes the list of contents passed as a parameter using the strategy's implementation.
-
-
-
Method Detail
-
personalizeList
PersonalizationResult personalizeList(Profile profile, Session session, PersonalizationService.PersonalizationRequest personalizationRequest)
Filters and personalizes the list of contents passed as a parameter using the strategy's implementation.- Parameters:
profile
- the profile to use for the personalizationsession
- the session to use for the personalizationpersonalizationRequest
- the request contains the contents to personalizes as well as the parameters for the strategy (options)- Returns:
- the personalization result that contains the list of content IDs resulting from the filtering/re-ordering
-
-