Interface RawItemContributor<T extends AbstractItemModel>
-
- Type Parameters:
T
-
- All Known Implementing Classes:
DefaultB2BOrderContributor
,DefaultB2BPartnerContributor
,DefaultB2BReturnOrderPartnerContributor
,DefaultCancelReturnOrderEntryContributor
,DefaultOrderCancelRequestContributor
,DefaultOrderContributor
,DefaultOrderEntryContributor
,DefaultPartnerContributor
,DefaultPaymentContributor
,DefaultPrecedingDocContributor
,DefaultQuoteApprovalContributor
,DefaultQuoteCommentContributor
,DefaultQuoteContributor
,DefaultQuoteEntryContributor
,DefaultQuotePartnerContributor
,DefaultReturnOrderContributor
,DefaultReturnOrderEntryContributor
,DefaultReturnOrderPartnerContributor
,DefaultReturnOrderSalesConditionsContributor
,DefaultSalesConditionsContributor
,DefaultSapC4cSalesConditionsContributor
,DefaultSapOmsQuoteSalesConditionsContributor
,DefaultSapQuoteSalesConditionsContributor
,OmsDefaultReturnOrderContributor
,SapOmsB2BOrderContributor
,SapOmsB2BVendorContributor
,SapOmsOrderCancelRequestContributor
,SapOmsOrderContributor
,SapOmsOrderEntryContributor
,SapOmsSalesConditionsContributor
,SapOmsVendorContributor
public interface RawItemContributor<T extends AbstractItemModel>
Contributor to the creation a Data Hub Raw item usingRawItemBuilder
. The raw item is modeled as a list of maps, each list entry representin one entry of the raw item and each map entry representing a name / value pair of the raw item. Each contributor may work independently on the item model. Duplicate columns are handled by theRawItemBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
createRows(T model)
java.util.Set<java.lang.String>
getColumns()
-
-
-
Method Detail
-
getColumns
java.util.Set<java.lang.String> getColumns()
- Returns:
- Columns to be included in the CSV string
-
createRows
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> createRows(T model)
- Parameters:
model
- 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
getColumns()
. Each list entry corresponds to one line of the CSV string
-
-