Class DefaultSapCpiServiceOrderOutboundService
java.lang.Object
de.hybris.platform.sap.sapserviceorder.service.impl.DefaultSapCpiServiceOrderOutboundService
- All Implemented Interfaces:
SapCpiServiceOrderOutboundService
public class DefaultSapCpiServiceOrderOutboundService
extends Object
implements SapCpiServiceOrderOutboundService
Implementation for Service Order Outbound service
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleande.hybris.platform.outboundservices.facade.OutboundServiceFacadeprotected booleanrx.Observable<org.springframework.http.ResponseEntity<Map>>sendServiceOrder(SAPCpiOutboundServiceOrderModel sapCpiOutboundServiceOrderModel) Method for sending Service Order Create Payload to SCPIrx.Observable<org.springframework.http.ResponseEntity<Map>>Method for sending Service Order Cancellation to SCPIbooleansendServiceOrderUpdate(SAPCpiOutboundServiceOrderModel outboundOrder) Method for sending Service Order Update Payload to SCPIvoidsetOutboundServiceFacade(de.hybris.platform.outboundservices.facade.OutboundServiceFacade outboundServiceFacade) protected voidvoidsetSapServiceOrderUpdateHooks(List<SapServiceOrderUpdateHook> sapServiceOrderUpdateHooks)
-
Field Details
-
OUTBOUND_SERVICE_ORDER_OBJECT
- See Also:
-
OUTBOUND_SERVICE_ORDER_UPDATE_OBJECT
- See Also:
-
OUTBOUND_SERVICE_ORDER_DESTINATION
- See Also:
-
OUTBOUND_SERVICE_ORDER_UPDATE_DESTINATION
- See Also:
-
sapServiceOrderUpdateHooks
-
-
Constructor Details
-
DefaultSapCpiServiceOrderOutboundService
public DefaultSapCpiServiceOrderOutboundService()
-
-
Method Details
-
sendServiceOrder
public rx.Observable<org.springframework.http.ResponseEntity<Map>> sendServiceOrder(SAPCpiOutboundServiceOrderModel sapCpiOutboundServiceOrderModel) Description copied from interface:SapCpiServiceOrderOutboundServiceMethod for sending Service Order Create Payload to SCPI- Specified by:
sendServiceOrderin interfaceSapCpiServiceOrderOutboundService- Parameters:
sapCpiOutboundServiceOrderModel- Outbound service order create payload- Returns:
- response
-
sendServiceOrderUpdate
Description copied from interface:SapCpiServiceOrderOutboundServiceMethod for sending Service Order Update Payload to SCPI- Specified by:
sendServiceOrderUpdatein interfaceSapCpiServiceOrderOutboundService- Parameters:
outboundOrder- Outbound service order update payload- Returns:
- boolean response success
-
executeServiceOrderUpdatePreSendHooks
protected boolean executeServiceOrderUpdatePreSendHooks(SAPCpiOutboundServiceOrderModel outboundOrder) -
sendServiceOrderCancellation
public rx.Observable<org.springframework.http.ResponseEntity<Map>> sendServiceOrderCancellation(SAPCpiOutboundServiceOrderModel order) Description copied from interface:SapCpiServiceOrderOutboundServiceMethod for sending Service Order Cancellation to SCPI- Specified by:
sendServiceOrderCancellationin interfaceSapCpiServiceOrderOutboundService- Parameters:
order- service order- Returns:
- response
-
isUpdateSuccessful
protected boolean isUpdateSuccessful() -
setResponseSuccess
protected void setResponseSuccess() -
getSapServiceOrderUpdateHooks
-
setSapServiceOrderUpdateHooks
public void setSapServiceOrderUpdateHooks(List<SapServiceOrderUpdateHook> sapServiceOrderUpdateHooks) -
getOutboundServiceFacade
public de.hybris.platform.outboundservices.facade.OutboundServiceFacade getOutboundServiceFacade()- Returns:
- the outboundServiceFacade
-
setOutboundServiceFacade
public void setOutboundServiceFacade(de.hybris.platform.outboundservices.facade.OutboundServiceFacade outboundServiceFacade) - Parameters:
outboundServiceFacade- the outboundServiceFacade to set
-