Class DefaultCentralOrderApiClient
java.lang.Object
com.sap.sapcentralorderservices.clients.impl.DefaultCentralOrderApiClient
- All Implemented Interfaces:
CentralOrderApiClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.apiregistryservices.services.DestinationService<T> org.springframework.http.ResponseEntity<T>de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory<T> org.springframework.http.ResponseEntity<T>getRawEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz) voidpostEntity(org.springframework.web.util.UriComponents uriComponents, Object entity) <T> TpostEntity(org.springframework.web.util.UriComponents uriComponents, Object entity, Class<T> response) voidsetDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService destinationService) voidsetIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory)
-
Constructor Details
-
DefaultCentralOrderApiClient
public DefaultCentralOrderApiClient()
-
-
Method Details
-
getIntegrationRestTemplateFactory
public de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory getIntegrationRestTemplateFactory()- Returns:
- the integrationRestTemplateFactory
-
setIntegrationRestTemplateFactory
public void setIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory) - Parameters:
integrationRestTemplateFactory- the integrationRestTemplateFactory to set
-
getDestinationService
public de.hybris.platform.apiregistryservices.services.DestinationService getDestinationService()- Returns:
- the destinationService
-
setDestinationService
public void setDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService destinationService) - Parameters:
destinationService- the destinationService to set
-
postEntity
public void postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity) throws SapCentralOrderException - Specified by:
postEntityin interfaceCentralOrderApiClient- Throws:
SapCentralOrderException
-
postEntity
public <T> T postEntity(org.springframework.web.util.UriComponents uriComponents, Object entity, Class<T> response) throws SapCentralOrderException - Throws:
SapCentralOrderException
-
getEntity
public <T> org.springframework.http.ResponseEntity<T> getEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz) throws SapCentralOrderException - Specified by:
getEntityin interfaceCentralOrderApiClient- Type Parameters:
T-- Parameters:
uriComponents-clazz-- Returns:
org.springframework.http.ResponseEntity<T>- Throws:
SapCentralOrderException
-
getRawEntity
public <T> org.springframework.http.ResponseEntity<T> getRawEntity(org.springframework.web.util.UriComponents uriComponents, Class<T> clazz) throws SapCentralOrderException - Throws:
SapCentralOrderException
-