Class DefaultAbstractCosRestService
java.lang.Object
com.sap.sapoaacosintegration.services.rest.impl.DefaultAbstractCosRestService
- All Implemented Interfaces:
CosRestService
- Direct Known Subclasses:
DefaultCosATPService,DefaultCosReservationService,DefaultCosSourcingService
Rest service provider for COS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckHttpStatusCode(org.springframework.web.client.HttpClientErrorException e) Checks HTTP Status Codes for back end downde.hybris.platform.servicelayer.session.SessionServicevoidsetBackendDown(boolean backendDown) Set the Attribute for BackendDown in the SessionvoidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-
Constructor Details
-
DefaultAbstractCosRestService
public DefaultAbstractCosRestService()
-
-
Method Details
-
setBackendDown
public void setBackendDown(boolean backendDown) Description copied from interface:CosRestServiceSet the Attribute for BackendDown in the Session- Specified by:
setBackendDownin interfaceCosRestService- Parameters:
backendDown- the value to set in the session
-
checkHttpStatusCode
public void checkHttpStatusCode(org.springframework.web.client.HttpClientErrorException e) Checks HTTP Status Codes for back end down- Specified by:
checkHttpStatusCodein interfaceCosRestService- Parameters:
e- the value of exception
-
getSessionService
public de.hybris.platform.servicelayer.session.SessionService getSessionService()- Returns:
- the sessionService
-
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) - Parameters:
sessionService- the sessionService to set
-