Class ClassificationIncludedHeaderPromptPopulator
java.lang.Object
com.hybris.backoffice.excel.template.ClassificationIncludedHeaderPromptPopulator
- All Implemented Interfaces:
ExcelSheetPopulator
public class ClassificationIncludedHeaderPromptPopulator
extends Object
implements ExcelSheetPopulator
Populates HEADER_PROMPT sheet - including classification attributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetAttributeDescriptorName(ExcelAttributeDescriptorAttribute attributeDescriptorAttribute) voidpopulate(ExcelExportResult excelExportResult) Populates a sheet with values retrieved fromExcelExportResultvoidsetExcelAttributeDescriptorPopulators(Map<ExcelTemplateConstants.HeaderPrompt, ExcelCellPopulator<ExcelAttributeDescriptorAttribute>> excelAttributeDescriptorPopulators) voidsetExcelCellService(ExcelCellService excelCellService) voidsetExcelClassificationPopulators(Map<ExcelTemplateConstants.HeaderPrompt, ExcelCellPopulator<ExcelClassificationAttribute>> excelClassificationPopulators)
-
Constructor Details
-
ClassificationIncludedHeaderPromptPopulator
public ClassificationIncludedHeaderPromptPopulator()
-
-
Method Details
-
populate
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 String getAttributeDescriptorName(ExcelAttributeDescriptorAttribute attributeDescriptorAttribute) -
setExcelAttributeDescriptorPopulators
public void setExcelAttributeDescriptorPopulators(Map<ExcelTemplateConstants.HeaderPrompt, ExcelCellPopulator<ExcelAttributeDescriptorAttribute>> excelAttributeDescriptorPopulators) -
setExcelClassificationPopulators
public void setExcelClassificationPopulators(Map<ExcelTemplateConstants.HeaderPrompt, ExcelCellPopulator<ExcelClassificationAttribute>> excelClassificationPopulators) -
setExcelCellService
-