Class DefaultPmEntityResourceNormalizer<SOURCE,TARGET extends ItemModel>
java.lang.Object
de.hybris.platform.partytmfwebservices.v1.normalizer.impl.DefaultPmEntityResourceNormalizer<SOURCE,TARGET>
- All Implemented Interfaces:
PmEntityResourceNormalizer<SOURCE,TARGET>
- Direct Known Subclasses:
PmOrganizationResourceNormalizer
@Deprecated(since="2208")
public class DefaultPmEntityResourceNormalizer<SOURCE,TARGET extends ItemModel>
extends Object
implements PmEntityResourceNormalizer<SOURCE,TARGET>
Deprecated.
2208
Default implementation of
PmEntityResourceNormalizer- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPmEntityResourceNormalizer(PmGenericService pmGenericService, Class<TARGET> targetClass, String targetTypeCode, ma.glasnost.orika.MapperFacade mapperFacade) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeDeprecated.protected PmGenericServiceDeprecated.Deprecated.protected StringDeprecated.normalizeEntity(SOURCE source, Map<String, String> searchParams, ma.glasnost.orika.MappingContext context, boolean createNewEntityIfNotExist) Deprecated.Retrieves or creates the model entity, updates it with data from the source DTO, and then saves the updated model.
-
Constructor Details
-
DefaultPmEntityResourceNormalizer
public DefaultPmEntityResourceNormalizer(PmGenericService pmGenericService, Class<TARGET> targetClass, String targetTypeCode, ma.glasnost.orika.MapperFacade mapperFacade) Deprecated.
-
-
Method Details
-
normalizeEntity
public TARGET normalizeEntity(SOURCE source, Map<String, String> searchParams, ma.glasnost.orika.MappingContext context, boolean createNewEntityIfNotExist) Deprecated.Description copied from interface:PmEntityResourceNormalizerRetrieves or creates the model entity, updates it with data from the source DTO, and then saves the updated model.- Specified by:
normalizeEntityin interfacePmEntityResourceNormalizer<SOURCE,TARGET extends ItemModel> - Parameters:
source- the DTOsearchParams- the parameters used for retrieving the item model.createNewEntityIfNotExist- if the entity does not exist and this is set to true it will create the model, otherwise throw an exception.- Returns:
- the updated
ItemModel
-
getPmGenericService
Deprecated. -
getTargetClass
Deprecated. -
getTargetTypeCode
Deprecated. -
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()Deprecated.
-