Class ClassificationTypeSystemSheetCompressor

java.lang.Object
com.hybris.backoffice.excel.template.populator.ClassificationTypeSystemSheetCompressor

public class ClassificationTypeSystemSheetCompressor extends Object
Compresses ClassificationTypeSystem rows by classification attribute. Some column values (as in FULL_NAME and ATTRIBUTE_LOC_LANG) differ for each row, thus they will be merged to a single cell containing a collection of those elements using CollectionFormatter.

For example the values in column:
 +------------------+
 | AttributeLocLang |
 +------------------+
 | en               |
 | de               |
 | fr               |
 +------------------+
 
will be compressed to:
 +------------------+
 | AttributeLocLang |
 +------------------+
 | {en},{de},{fr}   |
 +------------------+
 
See Also: