public class BroadleafInventoryNotificationController extends Object
InventoryNotifications.| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.core.catalog.service.CatalogService |
catalogService |
protected String |
formView |
protected InventoryNotificationService |
inventoryNotificationService |
| Constructor and Description |
|---|
BroadleafInventoryNotificationController() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
addNotification(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Long skuId,
String email)
Creates a new
InventoryNotification |
String |
getFormView() |
String |
getNotificationForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Long skuId)
Returns the form view to create a new notification
|
void |
setFormView(String formView) |
protected InventoryNotificationService inventoryNotificationService
protected org.broadleafcommerce.core.catalog.service.CatalogService catalogService
protected String formView
public BroadleafInventoryNotificationController()
public String getNotificationForm(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, Long skuId)
public Map<String,Object> addNotification(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, Long skuId, String email)
InventoryNotificationpublic String getFormView()
public void setFormView(String formView)
Copyright © 2020. All rights reserved.