Class PageTypeModelPopulator
java.lang.Object
de.hybris.platform.cmsfacades.pages.populator.model.PageTypeModelPopulator
- All Implemented Interfaces:
Populator<ComposedTypeModel,PageTypeData>
@Deprecated(since="6.6",
forRemoval=true)
public class PageTypeModelPopulator
extends Object
implements Populator<ComposedTypeModel,PageTypeData>
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.6
Populator to populate the basic attribute from a
The type value is used when creating a page. This information is required by the HTTP message converter to determine how to unmarshall the request object body correctly. If no type value is found in the request object body, the HTTP message converter will convert the dto into an
ComposedTypeModel to a PageTypeData. The type value is used when creating a page. This information is required by the HTTP message converter to determine how to unmarshall the request object body correctly. If no type value is found in the request object body, the HTTP message converter will convert the dto into an
AbstractPageModel instead of a specific page type model
such as ContentPageModel, ProductPageModel, etc.
Will populate:
type
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateTypedataForClass(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.Create a typedata value based on the given class name.protected PageTypeMappingRegistryDeprecated, for removal: This API element is subject to removal in a future version.voidpopulate(ComposedTypeModel source, PageTypeData target) Deprecated, for removal: This API element is subject to removal in a future version.Populate the target instance with values from the source instance.voidsetPageTypeMappingRegistry(PageTypeMappingRegistry pageTypeMappingRegistry) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
PageTypeModelPopulator
public PageTypeModelPopulator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
populate
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ComposedTypeModel,PageTypeData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
createTypedataForClass
Deprecated, for removal: This API element is subject to removal in a future version.Create a typedata value based on the given class name. The typedata must start with a lower case letter.- Parameters:
clazz- - the class used to create a typedata- Returns:
- a typedata
-
getPageTypeMappingRegistry
Deprecated, for removal: This API element is subject to removal in a future version. -
setPageTypeMappingRegistry
Deprecated, for removal: This API element is subject to removal in a future version.
-