Class ExcelClassificationTypeSystemService
java.lang.Object
com.hybris.backoffice.excel.importing.ExcelClassificationTypeSystemService
- All Implemented Interfaces:
ExcelTypeSystemService<ExcelClassificationTypeSystemService.ExcelClassificationTypeSystem>
public class ExcelClassificationTypeSystemService
extends Object
implements ExcelTypeSystemService<ExcelClassificationTypeSystemService.ExcelClassificationTypeSystem>
Allows to read the information from the hidden ClassificationTypeSystem sheet in previously exported Excel file.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the hidden ClassificationTypeSystem sheet in previously exported excel file. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadTypeSystem(org.apache.poi.ss.usermodel.Workbook workbook) reads hidden TypeSystem sheet from givenWorkbookand returns it.voidsetCellService(ExcelCellService cellService) voidsetCollectionFormatter(CollectionFormatter collectionFormatter)
-
Constructor Details
-
ExcelClassificationTypeSystemService
public ExcelClassificationTypeSystemService()
-
-
Method Details
-
loadTypeSystem
public ExcelClassificationTypeSystemService.ExcelClassificationTypeSystem loadTypeSystem(org.apache.poi.ss.usermodel.Workbook workbook) Description copied from interface:ExcelTypeSystemServicereads hidden TypeSystem sheet from givenWorkbookand returns it.- Specified by:
loadTypeSystemin interfaceExcelTypeSystemService<ExcelClassificationTypeSystemService.ExcelClassificationTypeSystem>- Parameters:
workbook- should contain hidden TypeSystem- Returns:
- POJO which contains data read from
Workbook's TypeSystem
-
setCellService
-
setCollectionFormatter
-