Class AbstractImpExCSVCellDecorator
- java.lang.Object
-
- de.hybris.platform.impex.jalo.header.AbstractImpExCSVCellDecorator
-
- All Implemented Interfaces:
CSVCellDecorator
- Direct Known Subclasses:
CustomerNameDecorator,DataHubConfigCellDecorator,E2EMediaPathDecorator,EClassSuperCategoryDecorator,ExternalImportKeyCellDecorator
public abstract class AbstractImpExCSVCellDecorator extends java.lang.Object implements CSVCellDecorator
Abstract implementation of theCSVCellDecoratorinterface which adds the current column descriptor instance where the decorator will be applied as member. Will be set via an additionalinit(AbstractColumnDescriptor)method.
-
-
Constructor Summary
Constructors Constructor Description AbstractImpExCSVCellDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractColumnDescriptorgetColumnDescriptor()Gets the column descriptor this decorator will be applied to.voidinit(AbstractColumnDescriptor column)Sets the related column descriptor as member.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.util.CSVCellDecorator
decorate
-
-
-
-
Method Detail
-
init
public void init(AbstractColumnDescriptor column) throws HeaderValidationException
Sets the related column descriptor as member.- Parameters:
column- column descriptor this decorator will be applied to- Throws:
HeaderValidationException- can be thrown at custom implementations in case of validation error (for example there has to be set a specific modifier at the descriptor)
-
getColumnDescriptor
protected AbstractColumnDescriptor getColumnDescriptor()
Gets the column descriptor this decorator will be applied to. (Only be available after init is called - not in constructor but in decorate method.- Returns:
- the related column descriptor
-
-