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 java.lang.Object implements Converter<ContentSlotData,PageContentSlotData>
This populator will populate thePageContentSlotDatafrom theContentSlotData
-
-
Constructor Summary
Constructors Constructor Description ContentSlotDataConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageContentSlotDataconvert(ContentSlotData source)Converts the source object, creating a new instance of the destination typePageContentSlotDataconvert(ContentSlotData source, PageContentSlotData target)Convert the source object by filling the prototype-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLogger
-
-
-
-
Method Detail
-
convert
public PageContentSlotData convert(ContentSlotData source) throws ConversionException
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
-
-