Package de.hybris.platform.util
Interface CSVCellDecorator
-
- All Known Implementing Classes:
AbstractImpExCSVCellDecorator
,ChineseLogisticCellDecorator
,ChineseTaxInvoiceCellDecorator
,ConsignmentTrackingCellDecorator
,CustomerNameDecorator
,DataHubConfigCellDecorator
,E2EMediaPathDecorator
,EClassSuperCategoryDecorator
,ExternalImportKeyCellDecorator
,MarketplaceCellDecorator
,MarketplaceLogisticCellDecorator
,MarketplaceTaxInvoiceCellDecorator
,PreviousQuoteCommentCellDecorator
,QuoteCommentCellDecorator
,QuoteConfirmationVersionCellDecorator
,QuoteEntryNumberCellDecorator
,QuoteEntryProductCellDecorator
,QuoteEntryResolutionCellDecorator
,QuoteGuidCellDecorator
,QuoteNameCellDecorator
,QuotePkCellDecorator
,QuotePreviousEstimatedTotalDecorator
,QuoteVersionCellDecorator
,QuoteVersionResolutionCellDecorator
,UpdateQuoteCellDecorator
public interface CSVCellDecorator
By using a cell decorator you can intercept the interpreting of a specific cell of a value line between parsing and translating of it. Means the cell value is parsed, then the cell decorator is called which can manipulate the parsed string and then the translation of the string starts.
The usage of a cell decorator can be configured by adding the modifiercellDecorator
to a header attribute specifying you decorator class.INSERT MyType;...;myAttribute[cellDecorator=de.hybris.platform.catalog.jalo.classification.eclass.EClassSuperCategoryDecorator]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
decorate(int position, java.util.Map<java.lang.Integer,java.lang.String> srcLine)
Decorates and returns the parsed attribute value.
-
-
-
Method Detail
-
decorate
java.lang.String decorate(int position, java.util.Map<java.lang.Integer,java.lang.String> srcLine)
Decorates and returns the parsed attribute value. The value can be gathered from givensrcLine
map by accessing element with givenposition
key.- Parameters:
position
- element key for given map where the parsed value to decorate is locatedsrcLine
- map containing whole parsed value line- Returns:
- decorated attribute value
-
-