Class ExcelProductSupercategoriesTypeTranslator

    • Constructor Detail

      • ExcelProductSupercategoriesTypeTranslator

        public ExcelProductSupercategoriesTypeTranslator()
    • Method Detail

      • exportData

        public java.util.Optional<java.lang.Object> exportData​(java.util.Collection<CategoryModel> objectToExport)
        Description copied from interface: ExcelValueTranslator
        Converts given object to value which should be put into cell of exported excel file.
        Returns:
        value which will be put into cell of exported excel file.
      • referenceFormat

        public java.lang.String referenceFormat​(AttributeDescriptorModel attributeDescriptor)
        Description copied from interface: ExcelValueTranslator
        Format how a reference should be presented. Usually references consist of a few fields indicated as unique. Therefore all unique attributes should be included in the format. Example reference format: "catalog:version"
        Parameters:
        attributeDescriptor - AttributeDescriptorModel
        Returns:
        Format how a reference should be presented
      • exportCategory

        protected java.lang.String exportCategory​(CategoryModel category)