Class ExcelAttributeTypeSystemService
- java.lang.Object
-
- com.hybris.backoffice.excel.importing.ExcelAttributeTypeSystemService
-
- All Implemented Interfaces:
ExcelTypeSystemService<ExcelAttributeTypeSystemService.ExcelTypeSystem>
public class ExcelAttributeTypeSystemService extends java.lang.Object implements ExcelTypeSystemService<ExcelAttributeTypeSystemService.ExcelTypeSystem>
Allows to read the information from the hidden TypeSystem sheet in previously exported Excel file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExcelAttributeTypeSystemService.ExcelTypeSystemRepresents the hidden TypeSystem sheet in previously exported excel file.
-
Constructor Summary
Constructors Constructor Description ExcelAttributeTypeSystemService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExcelAttributeTypeSystemService.ExcelTypeSystemloadTypeSystem(org.apache.poi.ss.usermodel.Workbook workbook)reads hidden TypeSystem sheet from givenWorkbookand returns it.voidsetCellService(ExcelCellService cellService)voidsetCollectionFormatter(CollectionFormatter collectionFormatter)
-
-
-
Method Detail
-
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
public void setCellService(ExcelCellService cellService)
-
setCollectionFormatter
public void setCollectionFormatter(CollectionFormatter collectionFormatter)
-
-