Interface RawItemContributor<T extends de.hybris.platform.servicelayer.model.AbstractItemModel>

Type Parameters:
T -
All Known Implementing Classes:
DefaultB2BOrderContributor, DefaultB2BPartnerContributor, DefaultB2BReturnOrderPartnerContributor, DefaultCancelReturnOrderEntryContributor, DefaultOrderCancelRequestContributor, DefaultOrderContributor, DefaultOrderEntryContributor, DefaultPartnerContributor, DefaultPaymentContributor, DefaultPrecedingDocContributor, DefaultReturnOrderContributor, DefaultReturnOrderEntryContributor, DefaultReturnOrderPartnerContributor, DefaultReturnOrderSalesConditionsContributor, DefaultSalesConditionsContributor, DefaultSapOmsQuoteSalesConditionsContributor, DefaultSapQuoteSalesConditionsContributor, OmsDefaultReturnOrderContributor, SalesOrderSimulaitonSalesConditionsContributor, SapCpiOaaOrderContributor, SapCpiOaaOrderEntryContributor, SapCpiOaaPartnerContributor, SapOmsB2BOrderContributor, SapOmsB2BVendorContributor, SapOmsOrderCancelRequestContributor, SapOmsOrderContributor, SapOmsOrderEntryContributor, SapOmsSalesConditionsContributor, SapOmsVendorContributor

public interface RawItemContributor<T extends de.hybris.platform.servicelayer.model.AbstractItemModel>
Contributor to the creation a Data Hub Raw item using RawItemBuilder. 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 the RawItemBuilder
  • Method Details

    • getColumns

      Set<String> getColumns()
      Returns:
      Columns to be included in the CSV string
    • createRows

      List<Map<String,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