Class DefaultCosSourcingResponseMapper
java.lang.Object
com.sap.sapoaacosintegration.services.sourcing.impl.DefaultCosSourcingResponseMapper
- All Implemented Interfaces:
CosSourcingResponseMapper
Default response mapper for COS response
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.servicelayer.config.ConfigurationServiceprotected voidmapAvailabilityResponse(CosSourcingResponseItemScheduleLine cosSourcingResponseItemScheduleLine, SourcingResultCartItemResponse sourcingResultCartItems) protected voidmapCartItemsResponse(CosSourcingResponse cosSourcingResponse, SourcingResultsResponse sourcingResultsResponse, SourcingResultResponse resultResponse) mapCosSourcingResponseToSourcingResponse(CosSourcingResponse cosSourcingResponse) maps theCosSourcingResponsetoSourcingResponseprotected List<SourcingResultCartItemResponse>mapSourcingResultCartItemResponses(CosSourcingResponse cosSourcingResponse) protected voidmapSourcingResultResponse(CosSourcingResponse cosSourcingResponse, SourcingResultsResponse sourcingResultsResponse) protected voidmapSourcingResultsResponse(SourcingResponse sourcingResponse, CosSourcingResponse cosSourcingResponse) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetDateFormat(String dateFormat)
-
Constructor Details
-
DefaultCosSourcingResponseMapper
public DefaultCosSourcingResponseMapper()
-
-
Method Details
-
mapCosSourcingResponseToSourcingResponse
public SourcingResponse mapCosSourcingResponseToSourcingResponse(CosSourcingResponse cosSourcingResponse) maps theCosSourcingResponsetoSourcingResponse- Specified by:
mapCosSourcingResponseToSourcingResponsein interfaceCosSourcingResponseMapper- Returns:
SourcingResponse
-
mapSourcingResultsResponse
protected void mapSourcingResultsResponse(SourcingResponse sourcingResponse, CosSourcingResponse cosSourcingResponse) -
mapSourcingResultResponse
protected void mapSourcingResultResponse(CosSourcingResponse cosSourcingResponse, SourcingResultsResponse sourcingResultsResponse) -
mapCartItemsResponse
protected void mapCartItemsResponse(CosSourcingResponse cosSourcingResponse, SourcingResultsResponse sourcingResultsResponse, SourcingResultResponse resultResponse) -
mapSourcingResultCartItemResponses
protected List<SourcingResultCartItemResponse> mapSourcingResultCartItemResponses(CosSourcingResponse cosSourcingResponse) -
mapAvailabilityResponse
protected void mapAvailabilityResponse(CosSourcingResponseItemScheduleLine cosSourcingResponseItemScheduleLine, SourcingResultCartItemResponse sourcingResultCartItems) -
setDateFormat
- Parameters:
dateFormat- the dateFormat to set
-
getDateFormat
- Returns:
- the dateFormat
-
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) - Parameters:
configurationService- the configurationService to set
-