Class DefaultIntegrationItemToMapConverter

java.lang.Object
de.hybris.platform.integrationservices.search.impl.DefaultIntegrationItemToMapConverter
All Implemented Interfaces:
IntegrationItemToMapConverter

public class DefaultIntegrationItemToMapConverter extends Object implements IntegrationItemToMapConverter
  • Constructor Details

    • DefaultIntegrationItemToMapConverter

      public DefaultIntegrationItemToMapConverter()
  • Method Details

    • convert

      public Map<String,Object> convert(IntegrationItem integrationItem)
      Description copied from interface: IntegrationItemToMapConverter
      Generates Map of property name - values from the Integration Item in a hierarchical way; when nested referenced attributes are present, they will also be represented as a nested map.
      Specified by:
      convert in interface IntegrationItemToMapConverter
      Parameters:
      integrationItem - Integration Item from a request that will be transformed into a Map representation.
      Returns:
      Map representation of the specified integration item. Keys of the map contain attribute names of the integration item and map values are values of the corresponding attributes. When integration item attribute value is a nested integration item or a collection of items, then that nested item(s) is converted to a Map(s).