public class StockNotificationController
extends java.lang.Object
| Constructor and Description |
|---|
StockNotificationController() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStockNotification(java.lang.String email,
java.lang.String sms,
java.lang.String site_message,
java.lang.String productCode,
HttpServletRequest request) |
protected java.util.List<NotificationPreferenceData> |
createNotificationPreferences(java.util.EnumMap<NotificationChannel,java.lang.Boolean> channels) |
protected DataMapper |
getDataMapper() |
protected NotificationPreferenceFacade |
getNotificationPreferenceFacade() |
protected java.util.Map |
getParameterMapFromRequest(HttpServletRequest request) |
protected ProductFacade |
getProductFacade() |
protected ProductInterestFacade |
getProductInterestFacade() |
ProductInterestWsDTO |
getStockNotification(java.lang.String productCode) |
protected StockNotificationValidator |
getStockNotificationValidator() |
protected void |
handleProductInterest(java.lang.String productCode,
java.util.EnumMap<NotificationChannel,java.lang.Boolean> channels,
ProductInterestData productInterestData) |
void |
removeStockNotification(java.lang.String productCode) |
protected java.lang.Boolean |
stringToBoolean(java.lang.String source,
java.lang.String subject) |
protected NotificationChannel |
stringToChannel(java.lang.String source) |
public ProductInterestWsDTO getStockNotification(java.lang.String productCode) throws StockNotificationException
StockNotificationExceptionpublic void addStockNotification(java.lang.String email,
java.lang.String sms,
java.lang.String site_message,
java.lang.String productCode,
HttpServletRequest request)
public void removeStockNotification(java.lang.String productCode)
protected void handleProductInterest(java.lang.String productCode,
java.util.EnumMap<NotificationChannel,java.lang.Boolean> channels,
ProductInterestData productInterestData)
protected java.util.List<NotificationPreferenceData> createNotificationPreferences(java.util.EnumMap<NotificationChannel,java.lang.Boolean> channels)
protected NotificationChannel stringToChannel(java.lang.String source)
protected java.lang.Boolean stringToBoolean(java.lang.String source,
java.lang.String subject)
protected java.util.Map getParameterMapFromRequest(HttpServletRequest request)
protected DataMapper getDataMapper()
protected ProductInterestFacade getProductInterestFacade()
protected ProductFacade getProductFacade()
protected StockNotificationValidator getStockNotificationValidator()
protected NotificationPreferenceFacade getNotificationPreferenceFacade()
Copyright © 2018 SAP SE. All Rights Reserved.