All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
protected java.util.List<ProductInterestRelationData> |
buildProductInterestRelationData(java.util.Map<ProductModel,java.util.Map<NotificationType,java.util.Date>> productNotificationMap) |
|
protected BaseSiteService |
getBaseSiteService() |
|
protected BaseStoreService |
getBaseStoreService() |
|
SearchPageData<ProductInterestRelationData> |
getPaginatedProductInterestsByCustomer(SearchPageData searchPageData) |
Finds interests watched by current customer
|
SearchPageData<ProductInterestRelationData> |
getPaginatedProductInterestsForNotificationType(java.lang.String productCode,
NotificationType notificationType,
SearchPageData searchPageData) |
Finds interests watched by current customer
|
protected java.util.Optional<ProductInterestModel> |
getProductInterest(java.lang.String productcode,
NotificationType notificationType) |
|
protected Converter<ProductInterestModel,ProductInterestData> |
getProductInterestConverter() |
|
java.util.Optional<ProductInterestData> |
getProductInterestDataForCurrentCustomer(java.lang.String productcode,
NotificationType notificationType) |
Gets the particular interest of the current customer according to the product code and the notificationType
|
protected Converter<java.util.Map.Entry<NotificationType,java.util.Date>,ProductInterestEntryData> |
getProductInterestEntryConverter() |
|
ProductInterestRelationData |
getProductInterestRelation(java.lang.String productCode) |
Finds product interest relation for specific product for current customer
|
protected Converter<java.util.Map.Entry<ProductModel,java.util.List<ProductInterestEntryData>>,ProductInterestRelationData> |
getProductInterestRelationConverter() |
|
protected Converter<ProductInterestData,ProductInterestModel> |
getProductInterestReverseConverter() |
|
protected ProductInterestService |
getProductInterestService() |
|
java.util.List<ProductInterestData> |
getProductInterestsForNotificationType(java.lang.String productCode,
NotificationType notificationType) |
Gets the expired and valid particular interest of the current customer according to the product code and the
notificationType
|
protected java.util.Map<java.lang.String,CollectionSortStrategy> |
getProductInterestsSortStrategies() |
|
java.util.List<ProductInterestRelationData> |
getProductsByCustomerInterests(PageableData pageableData) |
Finds interests watched by current customer
|
int |
getProductsCountByCustomerInterests(PageableData pageableData) |
Finds the total size of search result
|
protected ProductService |
getProductService() |
|
protected UserService |
getUserService() |
|
protected SearchPageData<ProductInterestRelationData> |
pagingProductInterestsList(SearchPageData searchPageData,
java.util.List<ProductInterestRelationData> interestsList) |
|
void |
removeAllProductInterests(java.lang.String productCode) |
Removes all interests for specific product for current customer
|
void |
removeProductInterest(ProductInterestData productInterest) |
Removes the product interest
|
void |
saveProductInterest(ProductInterestData productInterest) |
Saves the new or edited interest
|
void |
setBaseSiteService(BaseSiteService baseSiteService) |
|
void |
setBaseStoreService(BaseStoreService baseStoreService) |
|
void |
setProductInterestConverter(Converter<ProductInterestModel,ProductInterestData> productInterestConverter) |
|
void |
setProductInterestEntryConverter(Converter<java.util.Map.Entry<NotificationType,java.util.Date>,ProductInterestEntryData> productInterestEntryConverter) |
|
void |
setProductInterestRelationConverter(Converter<java.util.Map.Entry<ProductModel,java.util.List<ProductInterestEntryData>>,ProductInterestRelationData> productInterestRelationConverter) |
|
void |
setProductInterestReverseConverter(Converter<ProductInterestData,ProductInterestModel> productInterestReverseConverter) |
|
void |
setProductInterestService(ProductInterestService productInterestService) |
|
void |
setProductInterestsSortStrategies(java.util.Map<java.lang.String,CollectionSortStrategy> productInterestsSortStrategies) |
|
void |
setProductService(ProductService productService) |
|
void |
setUserService(UserService userService) |
|
protected void |
sortingProductInterestsList(SearchPageData searchPageData,
java.util.List<ProductInterestRelationData> interestsList) |
|