Class DefaultCentralOrderApiClient
- java.lang.Object
-
- com.sap.sapcentralorderservices.clients.impl.DefaultCentralOrderApiClient
-
- All Implemented Interfaces:
CentralOrderApiClient
public class DefaultCentralOrderApiClient extends java.lang.Object implements CentralOrderApiClient
-
-
Constructor Summary
Constructors Constructor Description DefaultCentralOrderApiClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.hybris.platform.apiregistryservices.services.DestinationServicegetDestinationService()<T> org.springframework.http.ResponseEntity<T>getEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Class<T> clazz)de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactorygetIntegrationRestTemplateFactory()<T> org.springframework.http.ResponseEntity<T>getRawEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Class<T> clazz)voidpostEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Object entity)<T> TpostEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Object entity, java.lang.Class<T> response)voidsetDestinationService(de.hybris.platform.apiregistryservices.services.DestinationService destinationService)voidsetIntegrationRestTemplateFactory(de.hybris.platform.outboundservices.client.IntegrationRestTemplateFactory integrationRestTemplateFactory)
-
-
-
Method Detail
-
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, java.lang.Object entity) throws SapCentralOrderException- Specified by:
postEntityin interfaceCentralOrderApiClient- Throws:
SapCentralOrderException
-
postEntity
public <T> T postEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Object entity, java.lang.Class<T> response) throws SapCentralOrderException- Throws:
SapCentralOrderException
-
getEntity
public <T> org.springframework.http.ResponseEntity<T> getEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Class<T> clazz) throws SapCentralOrderException- Specified by:
getEntityin interfaceCentralOrderApiClient- Type Parameters:
T-- Parameters:
uriComponents-clazz-- Returns:
ResponseEntity- Throws:
SapCentralOrderException
-
getRawEntity
public <T> org.springframework.http.ResponseEntity<T> getRawEntity(org.springframework.web.util.UriComponents uriComponents, java.lang.Class<T> clazz) throws SapCentralOrderException- Throws:
SapCentralOrderException
-
-