Class HybrisItemTypeValueConverter

java.lang.Object
de.hybris.platform.platformbackoffice.services.converters.impl.AbstractValueConverter
de.hybris.platform.platformbackoffice.services.converters.impl.HybrisItemTypeValueConverter
All Implemented Interfaces:
BackofficeSavedQueryValueConverter

public class HybrisItemTypeValueConverter extends AbstractValueConverter
Converts compound value type DataType.Type.COMPOUND where the value is instance of ItemtypeType
  • Constructor Details

    • HybrisItemTypeValueConverter

      public HybrisItemTypeValueConverter()
  • Method Details

    • canHandle

      public boolean canHandle(com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute)
    • convertValue

      public Object convertValue(SavedQueryValue savedQueryValue, com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute)
      Description copied from interface: BackofficeSavedQueryValueConverter
      Converts savedQueryValue into object value.
      Parameters:
      savedQueryValue - an object which holds value string representation and value metadata.
      dataAttribute - attribute descriptor.
      Returns:
      converted value or null if the conversion fails.
    • convertValue

      public SavedQueryValue convertValue(Object value, com.hybris.cockpitng.dataaccess.facades.type.DataAttribute dataAttribute)
      Description copied from interface: BackofficeSavedQueryValueConverter
      Converts object into savedQueryValue - an object which holds value string representation and value metadata.
      Parameters:
      value - value to convert.
      dataAttribute - attribute descriptor.
      Returns:
      string value representation with metadata or null if the conversion fails.
    • setModelService

      public void setModelService(ModelService modelService)