Class ContentSlotDataConverter
java.lang.Object
de.hybris.platform.cmsfacades.pagescontentslots.converter.ContentSlotDataConverter
- All Implemented Interfaces:
Converter<ContentSlotData,,PageContentSlotData> org.springframework.core.convert.converter.Converter<ContentSlotData,PageContentSlotData>
public class ContentSlotDataConverter
extends Object
implements Converter<ContentSlotData,PageContentSlotData>
This populator will populate the
PageContentSlotData from the ContentSlotData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(ContentSlotData source) Converts the source object, creating a new instance of the destination typeconvert(ContentSlotData source, PageContentSlotData target) Convert the source object by filling the prototypeMethods 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
convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
ContentSlotDataConverter
public ContentSlotDataConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<ContentSlotData,PageContentSlotData> - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<ContentSlotData,PageContentSlotData> - Parameters:
source- the source object- Returns:
- the converted object
- Throws:
ConversionException- if an error occurs
-
convert
public PageContentSlotData convert(ContentSlotData source, PageContentSlotData target) throws ConversionException Description copied from interface:ConverterConvert the source object by filling the prototype- Specified by:
convertin interfaceConverter<ContentSlotData,PageContentSlotData> - Parameters:
source- the source objecttarget- the prototype to fill- Returns:
- the converted object, identical to the prototype
- Throws:
ConversionException- if an error occurs
-