Class ExcelSheetWorkbookDecorator
java.lang.Object
com.hybris.backoffice.excel.exporting.ExcelSheetWorkbookDecorator
- All Implemented Interfaces:
ExcelExportWorkbookDecorator,org.springframework.core.Ordered
Implementation of
ExcelExportWorkbookDecorator. The decorator creates additional sheets for TypeSystem and
ClassificationTypeSystem. You can use setPopulators(Collection) to add your own sheet-creating mechanism.- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorate(ExcelExportResult excelExportResult) Decorates exportedWorkbookobject.intgetOrder()voidsetOrder(int order) voidsetPopulators(Collection<ExcelSheetPopulator> populators)
-
Constructor Details
-
ExcelSheetWorkbookDecorator
public ExcelSheetWorkbookDecorator()
-
-
Method Details
-
decorate
Description copied from interface:ExcelExportWorkbookDecoratorDecorates exportedWorkbookobject.- Specified by:
decoratein interfaceExcelExportWorkbookDecorator- Parameters:
excelExportResult- - export result which contains exported workbook, list of selected items, list of selected attributes and list of additional attributes
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) -
setPopulators
-