Class ExcelSheetWorkbookDecorator

java.lang.Object
com.hybris.backoffice.excel.exporting.ExcelSheetWorkbookDecorator
All Implemented Interfaces:
ExcelExportWorkbookDecorator, org.springframework.core.Ordered

public class ExcelSheetWorkbookDecorator extends Object implements ExcelExportWorkbookDecorator
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:
  • Constructor Details

    • ExcelSheetWorkbookDecorator

      public ExcelSheetWorkbookDecorator()
  • Method Details

    • decorate

      public void decorate(ExcelExportResult excelExportResult)
      Description copied from interface: ExcelExportWorkbookDecorator
      Decorates exported Workbook object.
      Specified by:
      decorate in interface ExcelExportWorkbookDecorator
      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:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)
    • setPopulators

      public void setPopulators(Collection<ExcelSheetPopulator> populators)