Interface RecommendationBufferDao
- All Known Implementing Classes:
DefaultRecommendationBufferDao
public interface RecommendationBufferDao
An interface for SAP Recommendation DAO
-
Method Summary
Modifier and TypeMethodDescriptionfindClickthroughs(int batchSize) findExpiredRecommendationMappings(Date expiresOn) findExpiredRecommendations(Date expiresOn) findExpiredRecoTypeMappings(Date expiresOn) findImpressions(int batchSize) findImpressionsAggregated(int batchSize) findOfferInteractions(int batchSize) findRecommendation(String scenarioId, String hashId, String leadingItems) findRecommendationMapping(String userId, String scenarioId) findRecommendationMapping(String userId, String scenarioId, String hashId) findRecoTypeMapping(String recoType, String scenarioId)
-
Method Details
-
findClickthroughs
- Parameters:
batchSize-- Returns:
Listof expiredSAPRecoClickthroughModel
-
findExpiredRecommendationMappings
- Parameters:
expiresOn-- Returns:
Listof expiredSAPRecommendationMappingModel
-
findExpiredRecommendations
- Parameters:
expiresOn-- Returns:
Listof expiredSAPRecommendationBufferModel
-
findExpiredRecoTypeMappings
- Parameters:
expiresOn-- Returns:
Listof expiredSAPRecoTypeMappingModel
-
findImpressions
- Parameters:
batchSize-- Returns:
ListofSAPRecoImpressionModel
-
findImpressionsAggregated
- Parameters:
batchSize-- Returns:
ListofSAPRecoImpressionAggrModel
-
findRecommendation
List<SAPRecommendationBufferModel> findRecommendation(String scenarioId, String hashId, String leadingItems) - Parameters:
scenarioId-hashId-leadingItems-- Returns:
ListofSAPRecommendationBufferModel
-
findRecommendationMapping
- Parameters:
userId-scenarioId-- Returns:
ListofSAPRecommendationMappingModel
-
findRecommendationMapping
List<SAPRecommendationMappingModel> findRecommendationMapping(String userId, String scenarioId, String hashId) - Parameters:
userId-scenarioId-hashId-- Returns:
ListofSAPRecommendationMappingModel
-
findRecoTypeMapping
- Parameters:
recoType-scenarioId-- Returns:
ListofSAPRecoTypeMappingModel
-
findOfferInteractions
- Parameters:
batchSize-- Returns:
ListofSAPOfferInteractionModel
-