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 Object implements CosRestService
Rest service provider for COS
  • Constructor Details

    • DefaultAbstractCosRestService

      public DefaultAbstractCosRestService()
  • Method Details

    • setBackendDown

      public void setBackendDown(boolean backendDown)
      Description copied from interface: CosRestService
      Set the Attribute for BackendDown in the Session
      Specified by:
      setBackendDown in interface CosRestService
      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:
      checkHttpStatusCode in interface CosRestService
      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