public class DefaultOutboundServiceFacade extends java.lang.Object implements OutboundServiceFacade
| Constructor and Description |
|---|
DefaultOutboundServiceFacade() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
buildPayload(ItemModel itemModel,
java.lang.String integrationObjectCode) |
protected DestinationService |
getDestinationService() |
protected IntegrationObjectConversionService |
getIntegrationObjectConversionService() |
protected IntegrationRestTemplateFactory |
getIntegrationRestTemplateFactory() |
<any> |
send(ItemModel itemModel,
java.lang.String integrationObjectCode,
java.lang.String destinationId)
Method orchestrates the services to build the payload and to integrate with restful endpoint.
|
void |
setDestinationService(DestinationService destinationService) |
void |
setIntegrationObjectConversionService(IntegrationObjectConversionService integrationObjectConversionService) |
void |
setIntegrationRestTemplateFactory(IntegrationRestTemplateFactory integrationRestTemplateFactory) |
public <any> send(ItemModel itemModel, java.lang.String integrationObjectCode, java.lang.String destinationId)
OutboundServiceFacadesend in interface OutboundServiceFacadeitemModel - the model to be convertedintegrationObjectCode - the name of the integration object to convert this model as payloaddestinationId - endpoint destination informationprotected java.util.Map<java.lang.String,java.lang.Object> buildPayload(ItemModel itemModel, java.lang.String integrationObjectCode)
protected DestinationService getDestinationService()
public void setDestinationService(DestinationService destinationService)
protected IntegrationRestTemplateFactory getIntegrationRestTemplateFactory()
public void setIntegrationRestTemplateFactory(IntegrationRestTemplateFactory integrationRestTemplateFactory)
protected IntegrationObjectConversionService getIntegrationObjectConversionService()
public void setIntegrationObjectConversionService(IntegrationObjectConversionService integrationObjectConversionService)
Copyright © 2018 SAP SE. All Rights Reserved.