Class ExcelAttributeTypeSystemService
java.lang.Object
com.hybris.backoffice.excel.importing.ExcelAttributeTypeSystemService
- All Implemented Interfaces:
ExcelTypeSystemService<ExcelAttributeTypeSystemService.ExcelTypeSystem>
public class ExcelAttributeTypeSystemService
extends Object
implements ExcelTypeSystemService<ExcelAttributeTypeSystemService.ExcelTypeSystem>
Allows to read the information from the hidden TypeSystem sheet in previously exported Excel file.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the hidden TypeSystem 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) voidsetCommonI18NService(DefaultCommonI18NService commonI18NService)
-
Constructor Details
-
ExcelAttributeTypeSystemService
public ExcelAttributeTypeSystemService()
-
-
Method Details
-
loadTypeSystem
public ExcelAttributeTypeSystemService.ExcelTypeSystem loadTypeSystem(org.apache.poi.ss.usermodel.Workbook workbook) Description copied from interface:ExcelTypeSystemServicereads hidden TypeSystem sheet from givenWorkbookand returns it.- Specified by:
loadTypeSystemin interfaceExcelTypeSystemService<ExcelAttributeTypeSystemService.ExcelTypeSystem>- Parameters:
workbook- should contain hidden TypeSystem- Returns:
- POJO which contains data read from
Workbook's TypeSystem
-
setCellService
-
setCommonI18NService
-
setCollectionFormatter
-