Interface ExcelExportDivider
-
- All Known Implementing Classes:
DefaultExcelExportDivider
public interface ExcelExportDividerAllows grouping items and attributes by their type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.util.Map<java.lang.String,java.util.Set<SelectedAttribute>>groupAttributesByType(java.util.Collection<java.lang.String> typeCodes, java.util.Collection<SelectedAttribute> selectedAttributes)Groups collection of selected attributes by variants.java.util.Map<java.lang.String,java.util.Set<SelectedAttribute>>groupAttributesByType(java.util.Set<java.lang.String> typeCodes, java.util.List<SelectedAttribute> selectedAttributes)Deprecated, for removal: This API element is subject to removal in a future version.since 1808, usegroupAttributesByType(Collection, Collection)instead as it is more convenientdefault java.util.Map<java.lang.String,java.util.Set<ItemModel>>groupItemsByType(java.util.Collection<ItemModel> items)Groups collection of item models by variantsjava.util.Map<java.lang.String,java.util.Set<ItemModel>>groupItemsByType(java.util.List<ItemModel> items)Deprecated, for removal: This API element is subject to removal in a future version.since 1808, usegroupItemsByType(Collection)instead as it is more convenient
-
-
-
Method Detail
-
groupItemsByType
default java.util.Map<java.lang.String,java.util.Set<ItemModel>> groupItemsByType(java.util.Collection<ItemModel> items)
Groups collection of item models by variants- Parameters:
items- to group- Returns:
- map
-
groupAttributesByType
default java.util.Map<java.lang.String,java.util.Set<SelectedAttribute>> groupAttributesByType(java.util.Collection<java.lang.String> typeCodes, java.util.Collection<SelectedAttribute> selectedAttributes)
Groups collection of selected attributes by variants. Attributes of every variant are extended by unique and required attributes for a specific variant.- Parameters:
typeCodes- type codes of extracted variantsselectedAttributes- by user- Returns:
- map
-
groupItemsByType
@Deprecated(since="1808", forRemoval=true) java.util.Map<java.lang.String,java.util.Set<ItemModel>> groupItemsByType(java.util.List<ItemModel> items)Deprecated, for removal: This API element is subject to removal in a future version.since 1808, usegroupItemsByType(Collection)instead as it is more convenientGroups collection of item models by variants- Parameters:
items- to group- Returns:
- map
-
groupAttributesByType
@Deprecated(since="1808", forRemoval=true) java.util.Map<java.lang.String,java.util.Set<SelectedAttribute>> groupAttributesByType(java.util.Set<java.lang.String> typeCodes, java.util.List<SelectedAttribute> selectedAttributes)Deprecated, for removal: This API element is subject to removal in a future version.since 1808, usegroupAttributesByType(Collection, Collection)instead as it is more convenientGroups collection of selected attributes by variants. Attributes of every variant are extended by unique and required attributes for a specific variant.- Parameters:
typeCodes- type codes of extracted variantsselectedAttributes- by user- Returns:
- map
-
-