Class DefaultTmaPriceRowImportAdapter

java.lang.Object
de.hybris.platform.b2ctelcoservices.dataimport.batch.price.impl.DefaultTmaPriceRowImportAdapter
All Implemented Interfaces:
TmaPriceRowImportAdapter

public class DefaultTmaPriceRowImportAdapter extends Object implements TmaPriceRowImportAdapter
Default implementation of TmaPriceRowImportAdapter.
Since:
1907
  • Constructor Details

    • DefaultTmaPriceRowImportAdapter

      public DefaultTmaPriceRowImportAdapter()
  • Method Details

    • init

      public void init(de.hybris.platform.impex.jalo.header.SpecialColumnDescriptor columnDescriptor)
      Description copied from interface: TmaPriceRowImportAdapter
      Initialize the values for locale, globalAdd, globalRemove, collectionValueDelimiter, dateFormat, numberFormat etc.
      Specified by:
      init in interface TmaPriceRowImportAdapter
      Parameters:
      columnDescriptor - containing the values of above attributes given in impex
    • performImport

      public List<PriceRowModel> performImport(String cellValue, de.hybris.platform.jalo.Item processedItem)
      Description copied from interface: TmaPriceRowImportAdapter
      Import a PriceRowModel.
      Specified by:
      performImport in interface TmaPriceRowImportAdapter
      Parameters:
      cellValue - the value from impex for price attribute
      processedItem - the item from impex
    • processItem

      protected boolean processItem(String token, de.hybris.platform.jalo.Item forItem, List<PriceRowModel> col, boolean append, boolean allowNull)
    • splitAndUnescape

      protected List splitAndUnescape(String valueExpr)
    • getDateFormatString

      protected String getDateFormatString(de.hybris.platform.impex.jalo.header.SpecialColumnDescriptor columnDescriptor)
    • getNumberFormatString

      protected String getNumberFormatString(de.hybris.platform.impex.jalo.header.SpecialColumnDescriptor columnDescriptor)
    • transformStartDate

      protected Date transformStartDate(Date startDate)
    • transformEndDate

      protected Date transformEndDate(Date endDate)
    • getNumberFormat

      protected NumberFormat getNumberFormat()
    • clearStatus

      protected void clearStatus()
    • setError

      protected void setError()
    • wasUnresolved

      public boolean wasUnresolved()
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
    • getUserService

      protected de.hybris.platform.servicelayer.user.UserService getUserService()
    • setUserService

      public void setUserService(de.hybris.platform.servicelayer.user.UserService userService)
    • getUnitService

      protected de.hybris.platform.product.UnitService getUnitService()
    • setUnitService

      public void setUnitService(de.hybris.platform.product.UnitService unitService)
    • getEnumerationService

      protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()
    • setEnumerationService

      public void setEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService)
    • getCurrencyDao

      protected de.hybris.platform.servicelayer.i18n.daos.CurrencyDao getCurrencyDao()
    • setCurrencyDao

      public void setCurrencyDao(de.hybris.platform.servicelayer.i18n.daos.CurrencyDao currencyDao)