Class PageAdapterUtil
java.lang.Object
de.hybris.platform.cmsoccaddon.jaxb.adapters.pages.PageAdapterUtil
This class is used by adapters to convert
CMSPageWsDTO into XML/JSON objects.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(CMSPageWsDTO pageDTO) ConvertsCMSPageWsDTOtoPageAdapterUtil.PageAdaptedDatathat can be easily converted to JSON/XML.convert(CMSPageWsDTO pageDTO, boolean includeSlots)
-
Constructor Details
-
PageAdapterUtil
public PageAdapterUtil()
-
-
Method Details
-
convert
ConvertsCMSPageWsDTOtoPageAdapterUtil.PageAdaptedDatathat can be easily converted to JSON/XML. All attributes from entries field will be moved to upper level.- Parameters:
pageDTO- theCMSPageWsDTOto convert.- Returns:
- the
PageAdapterUtil.PageAdaptedData.
-
convert
-