Class DefaultSapCpiQuoteCommentMapperService
- java.lang.Object
-
- com.sap.hybris.sapquoteintegration.outbound.service.impl.DefaultSapCpiQuoteCommentMapperService
-
- All Implemented Interfaces:
SapCpiQuoteCommentMapperService<CommentModel,SAPCpiOutboundQuoteCommentModel>
public class DefaultSapCpiQuoteCommentMapperService extends java.lang.Object implements SapCpiQuoteCommentMapperService<CommentModel,SAPCpiOutboundQuoteCommentModel>
Default class to add comments to Outbound Quote
-
-
Constructor Summary
Constructors Constructor Description DefaultSapCpiQuoteCommentMapperService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,UserModel>getB2bUnitService()protected CompanyModelgetRootB2BUnit(B2BCustomerModel customerModel)voidmap(CommentModel comment, SAPCpiOutboundQuoteCommentModel scpiQuoteComment)Performs mapping from source to target.protected voidmapComments(CommentModel comment, SAPCpiOutboundQuoteCommentModel scpiQuoteComment)voidsetB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,UserModel> b2bUnitService)
-
-
-
Method Detail
-
map
public void map(CommentModel comment, SAPCpiOutboundQuoteCommentModel scpiQuoteComment)
Description copied from interface:SapCpiQuoteCommentMapperServicePerforms mapping from source to target.- Specified by:
mapin interfaceSapCpiQuoteCommentMapperService<CommentModel,SAPCpiOutboundQuoteCommentModel>- Parameters:
comment- Comment ModelscpiQuoteComment- SAP CPI Outbound Quote Comment Model
-
getRootB2BUnit
protected CompanyModel getRootB2BUnit(B2BCustomerModel customerModel)
-
mapComments
protected void mapComments(CommentModel comment, SAPCpiOutboundQuoteCommentModel scpiQuoteComment)
-
getB2bUnitService
public de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,UserModel> getB2bUnitService()
-
setB2bUnitService
public void setB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,UserModel> b2bUnitService)
-
-