Class DefaultQuoteCommentContributor
- java.lang.Object
-
- de.hybris.platform.sap.c4c.quote.outbound.impl.DefaultQuoteCommentContributor
-
- All Implemented Interfaces:
RawItemContributor<QuoteModel>
public class DefaultQuoteCommentContributor extends java.lang.Object implements RawItemContributor<QuoteModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultQuoteCommentContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCommentData(java.util.List<CommentModel> comments, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> result, QuoteModel quoteModel)java.util.List<java.util.Map<java.lang.String,java.lang.Object>>createRows(QuoteModel quoteModel)java.util.Set<java.lang.String>getColumns()protected java.util.List<CommentModel>getDeltaComments(QuoteModel currentQuote)QuoteServicegetQuoteService()voidsetQuoteService(QuoteService quoteService)
-
-
-
Method Detail
-
getColumns
public java.util.Set<java.lang.String> getColumns()
- Specified by:
getColumnsin interfaceRawItemContributor<QuoteModel>- Returns:
- Columns to be included in the CSV string
-
createRows
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> createRows(QuoteModel quoteModel)
- Specified by:
createRowsin interfaceRawItemContributor<QuoteModel>- Parameters:
quoteModel- The item model from which parts of the CSV string shall be created- Returns:
- Name / value pairs. The names must correspond to the column names as returned in
RawItemContributor.getColumns(). Each list entry corresponds to one line of the CSV string
-
getDeltaComments
protected java.util.List<CommentModel> getDeltaComments(QuoteModel currentQuote)
-
addCommentData
protected void addCommentData(java.util.List<CommentModel> comments, java.util.List<java.util.Map<java.lang.String,java.lang.Object>> result, QuoteModel quoteModel)
-
getQuoteService
public QuoteService getQuoteService()
-
setQuoteService
public void setQuoteService(QuoteService quoteService)
-
-