Class DefaultQuoteEntryContributor
- java.lang.Object
-
- de.hybris.platform.sap.c4c.quote.outbound.impl.DefaultQuoteEntryContributor
-
- All Implemented Interfaces:
RawItemContributor<QuoteModel>
public class DefaultQuoteEntryContributor extends java.lang.Object implements RawItemContributor<QuoteModel>
-
-
Constructor Summary
Constructors Constructor Description DefaultQuoteEntryContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.Map<java.lang.String,java.lang.Object>>createRows(QuoteModel quote)protected java.lang.StringdetermineItemShortText(AbstractOrderEntryModel item, java.lang.String language)java.util.Set<java.lang.String>getColumns()
-
-
-
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 quote)
- Specified by:
createRowsin interfaceRawItemContributor<QuoteModel>- Parameters:
quote- 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
-
determineItemShortText
protected java.lang.String determineItemShortText(AbstractOrderEntryModel item, java.lang.String language)
-
-