Class DefaultAbstractCosRestService
- java.lang.Object
-
- com.sap.sapoaacosintegration.services.rest.impl.DefaultAbstractCosRestService
-
- All Implemented Interfaces:
CosRestService
- Direct Known Subclasses:
DefaultCosATPService,DefaultCosReservationService,DefaultCosSourcingService
public abstract class DefaultAbstractCosRestService extends java.lang.Object implements CosRestService
Rest service provider for COS
-
-
Constructor Summary
Constructors Constructor Description DefaultAbstractCosRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckHttpStatusCode(org.springframework.web.client.HttpClientErrorException e)Checks HTTP Status Codes for back end downde.hybris.platform.servicelayer.session.SessionServicegetSessionService()voidsetBackendDown(boolean backendDown)Set the Attribute for BackendDown in the SessionvoidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-
-
-
Method Detail
-
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
-
-