Class AbstractB2BFlexibleSearchConverter<T>
java.lang.Object
de.hybris.platform.b2bacceleratorfacades.search.converters.impl.AbstractB2BFlexibleSearchConverter<T>
- All Implemented Interfaces:
Converter<SearchPageData,,T> org.springframework.core.convert.converter.Converter<SearchPageData,T>
public abstract class AbstractB2BFlexibleSearchConverter<T>
extends Object
implements Converter<SearchPageData,T>
Defines common implementation of conversion from SearchPageData to Data (DTO) object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(SearchPageData searchPageData) Converts the source object, creating a new instance of the destination typeprotected abstract TReturns empty template instance for the conversion targetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convert, convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
AbstractB2BFlexibleSearchConverter
public AbstractB2BFlexibleSearchConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<SearchPageData,T> - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<SearchPageData,T> - Parameters:
searchPageData- the source object- Returns:
- the converted object
- Throws:
ConversionException- if an error occurs
-
createDataObject
Returns empty template instance for the conversion target
-