P
- type of Productpublic class OrderViaEmail<P extends Product> extends Object
Publisher
to publish an email using the following default DataMap that is provided to the Publisher.addContext(Map)
emailOrderpublisher
after its populated by overriding updatePublisher()
Modifier and Type | Field and Description |
---|---|
protected Publisher |
emailOrderpublisher |
Constructor and Description |
---|
OrderViaEmail() |
Modifier and Type | Method and Description |
---|---|
String |
generateEmailOrderForm(IGenericEcomUser user,
Map<P,Integer> productQuantityMap) |
Publisher |
getEmailOrderpublisher() |
void |
setEmailOrderpublisher(Publisher emailOrderpublisher) |
protected void |
updatePublisher() |
protected Publisher emailOrderpublisher
protected void updatePublisher()
public String generateEmailOrderForm(IGenericEcomUser user, Map<P,Integer> productQuantityMap) throws Exception
Exception
public Publisher getEmailOrderpublisher()
public void setEmailOrderpublisher(Publisher emailOrderpublisher)
Copyright © 2018. All rights reserved.