Class DefaultRecommendationBufferDao
java.lang.Object
com.hybris.ymkt.recommendationbuffer.dao.impl.DefaultRecommendationBufferDao
- All Implemented Interfaces:
RecommendationBufferDao
Default interface implementation
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected de.hybris.platform.servicelayer.search.FlexibleSearchServiceprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.search.FlexibleSearchQuerybuildFlexibleSearchQuery(String typecode, String... whereCauses) findClickthroughs(int batchSize) protected <T> List<T>findExpiredAny(String typecode, Date expiresOn) 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) protected <T> List<T>search(de.hybris.platform.servicelayer.search.FlexibleSearchQuery fQuery) protected <T> List<T>searchAnyNoCaching(String typecode, int batchSize) voidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
Field Details
-
QUERY_PARAMETER_HASH_ID
- See Also:
-
QUERY_PARAMETER_LEADING_ITEMS
- See Also:
-
QUERY_PARAMETER_SCENARIO_ID
- See Also:
-
QUERY_PARAMETER_USER_ID
- See Also:
-
WHERE_CLAUSE_EXPIRES_ON
- See Also:
-
WHERE_CLAUSE_HASH_ID
- See Also:
-
WHERE_CLAUSE_HASH_ID_IN
- See Also:
-
WHERE_CLAUSE_LEADING_ITEMS
- See Also:
-
WHERE_CLAUSE_RECO_TYPE
- See Also:
-
WHERE_CLAUSE_SCENARIO_ID
- See Also:
-
WHERE_CLAUSE_USER_ID
- See Also:
-
flexibleSearchService
protected de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService
-
-
Constructor Details
-
DefaultRecommendationBufferDao
public DefaultRecommendationBufferDao()
-
-
Method Details
-
buildFlexibleSearchQuery
-
findClickthroughs
- Specified by:
findClickthroughsin interfaceRecommendationBufferDao- Returns:
Listof expiredSAPRecoClickthroughModel
-
findExpiredAny
-
findExpiredRecommendationMappings
- Specified by:
findExpiredRecommendationMappingsin interfaceRecommendationBufferDao- Returns:
Listof expiredSAPRecommendationMappingModel
-
findExpiredRecommendations
- Specified by:
findExpiredRecommendationsin interfaceRecommendationBufferDao- Returns:
Listof expiredSAPRecommendationBufferModel
-
findExpiredRecoTypeMappings
- Specified by:
findExpiredRecoTypeMappingsin interfaceRecommendationBufferDao- Returns:
Listof expiredSAPRecoTypeMappingModel
-
findImpressions
- Specified by:
findImpressionsin interfaceRecommendationBufferDao- Returns:
ListofSAPRecoImpressionModel
-
findImpressionsAggregated
- Specified by:
findImpressionsAggregatedin interfaceRecommendationBufferDao- Returns:
ListofSAPRecoImpressionAggrModel
-
findOfferInteractions
- Specified by:
findOfferInteractionsin interfaceRecommendationBufferDao- Returns:
ListofSAPOfferInteractionModel
-
findRecommendation
public List<SAPRecommendationBufferModel> findRecommendation(String scenarioId, String hashId, String leadingItems) - Specified by:
findRecommendationin interfaceRecommendationBufferDao- Returns:
ListofSAPRecommendationBufferModel
-
findRecommendationMapping
public List<SAPRecommendationMappingModel> findRecommendationMapping(String userId, String scenarioId) - Specified by:
findRecommendationMappingin interfaceRecommendationBufferDao- Returns:
ListofSAPRecommendationMappingModel
-
findRecommendationMapping
public List<SAPRecommendationMappingModel> findRecommendationMapping(String userId, String scenarioId, String hashId) - Specified by:
findRecommendationMappingin interfaceRecommendationBufferDao- Returns:
ListofSAPRecommendationMappingModel
-
findRecoTypeMapping
- Specified by:
findRecoTypeMappingin interfaceRecommendationBufferDao- Returns:
ListofSAPRecoTypeMappingModel
-
search
-
searchAnyNoCaching
-
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-