| Modifier and Type | Class and Description |
|---|---|
class |
ExcelAttributeDescriptorAttribute |
class |
ExcelClassificationAttribute
Default implementation of
ExcelAttribute supports classification attributes |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ExcelAttribute> |
ExcelExportParams.getAdditionalAttributes() |
java.util.Collection<ExcelAttribute> |
ExcelExportResult.getAvailableAdditionalAttributes() |
java.util.Collection<ExcelAttribute> |
ExcelExportResult.getSelectedAdditionalAttributes() |
| Constructor and Description |
|---|
ExcelExportParams(java.util.List<ItemModel> itemsToExport,
java.util.List<SelectedAttribute> selectedAttributes,
java.util.Collection<ExcelAttribute> additionalAttributes)
Constructs an instance of
ExcelExportParams. |
ExcelExportResult(Workbook workbook,
java.util.Collection<ItemModel> selectedItems,
java.util.Collection<SelectedAttribute> selectedAttributes,
java.util.Collection<ExcelAttribute> selectedAdditionalAttributes,
java.util.Collection<ExcelAttribute> availableAdditionalAttributes) |
ExcelExportResult(Workbook workbook,
java.util.Collection<ItemModel> selectedItems,
java.util.Collection<SelectedAttribute> selectedAttributes,
java.util.Collection<ExcelAttribute> selectedAdditionalAttributes,
java.util.Collection<ExcelAttribute> availableAdditionalAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected ExcelAttribute |
ExcelExportHandler.toClassificationAttribute(Attribute attribute,
ClassAttributeAssignmentModel descriptor,
java.util.Map<java.lang.String,java.lang.String> langTagToLanguageIsoCodeCache) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ExcelAttribute> |
ExcelExportHandler.getAdditionalAttributes(ExcelExportWizardForm excelForm) |
protected java.util.List<ExcelAttribute> |
ExcelExportHandler.getAvailableAdditionalAttributes(ExcelExportWizardForm excelForm) |
protected java.util.List<ExcelAttribute> |
ExcelExportHandler.toClassificationAttributes(java.util.Set<Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
ExcelExportHandler.comparingExcelAttribute(ExcelAttribute a,
ExcelAttribute b) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractExcelExportWorkbookDecorator.exportDataIntoCell(ExcelAttributeTranslator<ExcelAttribute> translator,
ExcelCellValue excelCellValue) |
| Modifier and Type | Method and Description |
|---|---|
ExcelAttribute |
ExcelCellValue.getExcelAttribute() |
| Constructor and Description |
|---|
ExcelCellValue(Cell cell,
ExcelAttribute excelAttribute,
ItemModel itemModel) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<ExcelAttribute> |
DefaultExcelImportClassificationWorkbookDecorator.getExcelAttributes(Sheet sheet) |
protected abstract java.util.Collection<ExcelAttribute> |
AbstractExcelImportWorkbookDecorator.getExcelAttributes(Sheet sheet)
Finds appropriate attributes for given decorator implementation.
|
| Modifier and Type | Method and Description |
|---|---|
protected Impex |
AbstractExcelImportWorkbookDecorator.convertToImpex(ExcelAttribute excelAttribute,
ImportParameters importParameters,
ExcelImportContext excelImportContext)
Converts given excel attribute and import parameters into impex object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractExcelImportWorkbookDecorator.setValidators(java.util.List<ExcelAttributeValidator<? extends ExcelAttribute>> validators) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AttributeNameFormatter<ATTRIBUTE extends ExcelAttribute>
Allows to format given
ExcelAttribute to readable value |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ExcelAttribute> |
ClassificationIncludedHeaderPromptPopulatorIntegrationTest.prepareExcelAttributeDescriptorAttributes(ItemModel variant) |
protected java.util.List<ExcelAttribute> |
ClassificationIncludedHeaderPromptPopulatorIntegrationTest.prepareExcelClassificationAttributes() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<ExcelAttribute> |
DefaultExcelHeaderServiceTest.mockExcelAttributes(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExcelHeaderService.insertAttributeHeader(Sheet sheet,
ExcelAttribute excelAttribute,
int columnIndex)
Inserts value to the sheet's header
|
void |
DefaultExcelHeaderService.insertAttributeHeader(Sheet sheet,
ExcelAttribute excelAttribute,
int columnIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExcelHeaderService.insertAttributesHeader(Sheet sheet,
java.util.Collection<? extends ExcelAttribute> excelAttributes)
A shortcut for
ExcelHeaderService.insertAttributeHeader(Sheet, ExcelAttribute, int) It is possible to inserts all values to
the header at once instead of invoking ExcelHeaderService.insertAttributeHeader(Sheet, ExcelAttribute, int) for every
attribute separately |
void |
DefaultExcelHeaderService.insertAttributesHeader(Sheet sheet,
java.util.Collection<? extends ExcelAttribute> excelAttributes) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChainMapper<INPUT,ATTRIBUTE extends ExcelAttribute>
Allows to chain two
ExcelMappers. |
interface |
ToExcelAttributesMapper<INPUT,ATTRIBUTE extends ExcelAttribute>
Allows for mapping given value to collection of
AttributeDescriptorModel |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultExcelAttributeContext<ATTRIBUTE extends ExcelAttribute>
Default implementation of
ExcelAttributeContext which can be used excel population process. |
interface |
ExcelAttributeContext<ATTRIBUTE extends ExcelAttribute> |
interface |
ExcelCellPopulator<T extends ExcelAttribute>
Interface for excel's single cell population
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends ExcelAttribute> |
DefaultExcelAttributeContext.ofExcelAttribute(T excelAttribute) |
static <T extends ExcelAttribute> |
DefaultExcelAttributeContext.ofMap(T excelAttribute,
java.util.Map<java.lang.String,java.lang.Object> map) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<ExcelClassificationAttribute> |
ClassificationTypeSystemSheetPopulator.extractClassificationAttributes(java.util.Collection<ExcelAttribute> attributes) |
void |
ClassificationTypeSystemSheetPopulator.setFilters(java.util.Collection<ExcelFilter<ExcelAttribute>> filters) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExcelMarkAppender<T extends ExcelAttribute>
Allows to append special character to given input
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
MultivalueExcelMarkAppender.apply(java.lang.String s,
ExcelAttribute excelAttribute) |
java.lang.String |
MandatoryExcelMarkAppender.apply(java.lang.String s,
ExcelAttribute excelAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
DefaultExcelSheetService.findAttributeDisplayNameInTypeSystemSheet(Sheet typeSystemSheet,
ExcelAttribute excelAttribute) |
int |
DefaultExcelSheetService.findColumnIndex(Sheet typeSystemSheet,
Sheet sheet,
ExcelAttribute excelAttribute) |
int |
ExcelSheetService.findColumnIndex(Sheet typeSystemSheet,
Sheet sheet,
ExcelAttribute excelAttribute)
Finds column index based on selected attribute.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExcelAttributeTranslator<T extends ExcelAttribute> |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ExcelAttributeTranslator<ExcelAttribute>> |
ExcelAttributeTranslatorRegistry.findTranslator(ExcelAttribute excelAttribute)
Finds translator which can handle given excel attribute.
|
java.util.Optional<ExcelAttributeTranslator<ExcelAttribute>> |
ExcelAttributeTranslatorRegistry.findTranslator(ExcelAttribute excelAttribute,
java.lang.Class<? extends ExcelAttributeTranslator>... exclude)
Finds translator which can handle given excel attribute.
|
java.util.List<ExcelAttributeTranslator<ExcelAttribute>> |
ExcelAttributeTranslatorRegistry.getTranslators()
Returns list of registered attribute translators.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExcelAttributeTranslatorRegistry.canHandle(ExcelAttribute excelAttribute)
Indicates whether there is at least one translator which can handle given attribute descriptor.
|
java.util.Optional<ExcelAttributeTranslator<ExcelAttribute>> |
ExcelAttributeTranslatorRegistry.findTranslator(ExcelAttribute excelAttribute)
Finds translator which can handle given excel attribute.
|
java.util.Optional<ExcelAttributeTranslator<ExcelAttribute>> |
ExcelAttributeTranslatorRegistry.findTranslator(ExcelAttribute excelAttribute,
java.lang.Class<? extends ExcelAttributeTranslator>... exclude)
Finds translator which can handle given excel attribute.
|
Impex |
ExcelAttributeTranslator.importData(ExcelAttribute excelAttribute,
ImportParameters importParameters,
ExcelImportContext excelImportContext)
Imports data based on provided importParameters for given excel attribute.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<? extends ExcelAttributeTranslator> |
ExcelAttributeTranslatorRegistry.getTranslatorClass(ExcelAttributeTranslator<ExcelAttribute> translator) |
void |
ExcelAttributeTranslatorRegistry.setTranslators(java.util.List<ExcelAttributeTranslator<ExcelAttribute>> translators)
Sets list of attribute translators for the registry.
|
| Modifier and Type | Method and Description |
|---|---|
Impex |
AbstractClassificationAttributeTranslator.importData(ExcelAttribute excelAttribute,
ImportParameters importParameters,
ExcelImportContext excelImportContext) |
Impex |
AbstractClassificationRangeTranslator.importData(ExcelAttribute excelAttribute,
ImportParameters importParameters,
ExcelImportContext excelImportContext) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ExcelAttributeValidator<T extends ExcelAttribute>
Excel validator interface used by excel attribute's translator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExcelValidationEngineAwareLocalizedStrategy.canHandle(ImportParameters importParameters,
ExcelAttribute excelAttribute) |
boolean |
ExcelValidationEngineAwareStrategy.canHandle(ImportParameters importParameters,
ExcelAttribute excelAttribute)
Indicates whether current strategy is able to handle given attribute
|
boolean |
ExcelValidationEngineAwareUnlocalizedStrategy.canHandle(ImportParameters importParameters,
ExcelAttribute excelAttribute) |
protected java.lang.Object |
ExcelAbstractValidationEngineAwareStrategy.convertValue(ExcelAttribute excelAttribute,
ImportParameters importParameters)
Converts cell value into appropriate object representation
|
ExcelValidationResult |
ExcelValidationEngineAwareValidator.validate(ExcelAttribute excelAttribute,
ImportParameters importParameters)
Validates currently processed cell's value
|
ExcelValidationResult |
DefaultExcelValidationEngineAwareValidator.validate(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
ExcelValidationResult |
ExcelValidationEngineAwareLocalizedStrategy.validate(ImportParameters importParameters,
ExcelAttribute excelAttribute) |
ExcelValidationResult |
ExcelValidationEngineAwareStrategy.validate(ImportParameters importParameters,
ExcelAttribute excelAttribute)
Validates current value based on backoffice's validation engine
|
ExcelValidationResult |
ExcelValidationEngineAwareUnlocalizedStrategy.validate(ImportParameters importParameters,
ExcelAttribute excelAttribute) |
protected java.util.Collection<HybrisConstraintViolation> |
ExcelAbstractValidationEngineAwareStrategy.validateValue(ImportParameters importParameters,
ExcelAttribute excelAttribute)
Converts cell value to appropriate object representation and invokes validation engine.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExcelMultiValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
boolean |
ExcelNullValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
boolean |
ExcelBooleanValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
boolean |
ExcelStringValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
boolean |
ExcelDateValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
boolean |
ExcelNumberValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
boolean |
ExcelValueConverter.canConvert(ExcelAttribute excelAttribute,
ImportParameters importParameters)
Indicates whether converter is able to converts given excel attribute
|
java.util.Collection |
ExcelMultiValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
java.lang.Object |
ExcelNullValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
java.lang.Boolean |
ExcelBooleanValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
java.lang.String |
ExcelStringValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
java.util.Date |
ExcelDateValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
java.lang.Number |
ExcelNumberValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters) |
TYPE |
ExcelValueConverter.convert(ExcelAttribute excelAttribute,
ImportParameters importParameters)
Converts string value into correct object representation
|
<CONVERTER extends ExcelValueConverter> |
ExcelValueConverterRegistry.getConverter(ExcelAttribute excelAttribute,
ImportParameters importParameters,
java.lang.Class<CONVERTER>... exclude)
Finds converter which can handle given attribute descriptor.
|
Copyright © 2018 SAP SE. All Rights Reserved.