Class SapCpiOaaOrderEntryContributor

java.lang.Object
com.sap.hybris.sapcpioaaorderintegration.outbound.impl.SapCpiOaaOrderEntryContributor
All Implemented Interfaces:
RawItemContributor<OrderModel>

public class SapCpiOaaOrderEntryContributor extends Object implements RawItemContributor<OrderModel>
Adds ROCC OAA specific Fields to Order Entry for Order Replication
  • Constructor Details

    • SapCpiOaaOrderEntryContributor

      public SapCpiOaaOrderEntryContributor()
  • Method Details

    • setBaseSiteService

      public void setBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService)
      Parameters:
      baseSiteService - the baseSiteService to set
    • setDatePattern

      public void setDatePattern(String datePattern)
      The date pattern to use when converting Date objects to Strings in UTC timezone This value is read from a property 'datahubadapter.datahuboutbound.date.pattern'
      Parameters:
      datePattern - the date pattern
    • setSapCoreConfigurationService

      public void setSapCoreConfigurationService(SAPConfigurationService sapCoreConfigurationService)
      Parameters:
      sapCoreConfigurationService - the sapCoreConfigurationService to set
    • createRows

      public List<Map<String,Object>> createRows(OrderModel order)
      Specified by:
      createRows in interface RawItemContributor<OrderModel>
      Parameters:
      order - 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
    • addProductFields

      public void addProductFields(OrderModel order, AbstractOrderEntryModel entry, Map<String,Object> row)
      Parameters:
      order -
      entry -
      row -
    • determineItemShortText

      public String determineItemShortText(AbstractOrderEntryModel item, String language)
    • addOrderEntryKeyFields

      public void addOrderEntryKeyFields(OrderModel order, AbstractOrderEntryModel entry, Map<String,Object> row)
      Parameters:
      order -
      entry -
      row -
    • getColumns

      public Set<String> getColumns()
      Specified by:
      getColumns in interface RawItemContributor<OrderModel>
      Returns:
      Columns to be included in the CSV string
    • addScheduleLines

      public void addScheduleLines(AbstractOrderEntryModel entry, Map<String,Object> row)
      Parameters:
      entry -
      row -