public class AfterCustomerSaveEventHandler extends java.lang.Object implements AfterSaveEventHandler
| Constructor and Description |
|---|
AfterCustomerSaveEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createOrUpdateCustomer(CustomerModel customerModel) |
Populator |
getCustomerPopulator() |
Publisher |
getHciPublisher() |
void |
handleEvent(AfterSaveEvent event) |
void |
setCustomerPopulator(Populator customerPopulator) |
void |
setHciPublisher(Publisher hciPublisher) |
void |
setModelService(ModelService modelService) |
public void handleEvent(AfterSaveEvent event)
handleEvent in interface AfterSaveEventHandlerprotected void createOrUpdateCustomer(CustomerModel customerModel) throws java.net.URISyntaxException, java.io.IOException
endPoint - java.net.URISyntaxExceptionjava.io.IOExceptionpublic Populator getCustomerPopulator()
public void setCustomerPopulator(Populator customerPopulator)
customerPopulator - the customerPopulator to setpublic Publisher getHciPublisher()
public void setHciPublisher(Publisher hciPublisher)
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.