Class ClassificationIncludedHeaderPromptPopulator
- java.lang.Object
-
- com.hybris.backoffice.excel.template.ClassificationIncludedHeaderPromptPopulator
-
- All Implemented Interfaces:
ExcelSheetPopulator
public class ClassificationIncludedHeaderPromptPopulator extends java.lang.Object implements ExcelSheetPopulator
Populates HEADER_PROMPT sheet - including classification attributes
-
-
Constructor Summary
Constructors Constructor Description ClassificationIncludedHeaderPromptPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetAttributeDescriptorName(ExcelAttributeDescriptorAttribute attributeDescriptorAttribute)voidpopulate(ExcelExportResult excelExportResult)Populates a sheet with values retrieved fromExcelExportResultvoidsetExcelAttributeDescriptorPopulators(java.util.Map<ExcelTemplateConstants.HeaderPrompt,ExcelCellPopulator<ExcelAttributeDescriptorAttribute>> excelAttributeDescriptorPopulators)voidsetExcelCellService(ExcelCellService excelCellService)voidsetExcelClassificationPopulators(java.util.Map<ExcelTemplateConstants.HeaderPrompt,ExcelCellPopulator<ExcelClassificationAttribute>> excelClassificationPopulators)
-
-
-
Method Detail
-
populate
public void populate(@Nonnull ExcelExportResult excelExportResult)Populates a sheet with values retrieved fromExcelExportResult- Specified by:
populatein interfaceExcelSheetPopulator- Parameters:
excelExportResult- a pojo which contains list of selected items, list of selected and available attributes etc.
-
getAttributeDescriptorName
protected java.lang.String getAttributeDescriptorName(ExcelAttributeDescriptorAttribute attributeDescriptorAttribute)
-
setExcelAttributeDescriptorPopulators
public void setExcelAttributeDescriptorPopulators(java.util.Map<ExcelTemplateConstants.HeaderPrompt,ExcelCellPopulator<ExcelAttributeDescriptorAttribute>> excelAttributeDescriptorPopulators)
-
setExcelClassificationPopulators
public void setExcelClassificationPopulators(java.util.Map<ExcelTemplateConstants.HeaderPrompt,ExcelCellPopulator<ExcelClassificationAttribute>> excelClassificationPopulators)
-
setExcelCellService
public void setExcelCellService(ExcelCellService excelCellService)
-
-