Class DefaultPrEntityResourceNormalizer<SOURCE,TARGET extends ItemModel>
java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.normalizer.impl.DefaultPrEntityResourceNormalizer<SOURCE,TARGET>
- All Implemented Interfaces:
PrEntityResourceNormalizer<SOURCE,TARGET>
@Deprecated(since="2208")
public class DefaultPrEntityResourceNormalizer<SOURCE,TARGET extends ItemModel>
extends Object
implements PrEntityResourceNormalizer<SOURCE,TARGET>
Deprecated.
2208
Default implementation of
PrEntityResourceNormalizer- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPrEntityResourceNormalizer(PrGenericService prGenericService, Class<TARGET> targetClass, String targetTypeCode, ma.glasnost.orika.MapperFacade mapperFacade) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeDeprecated.protected PrGenericServiceDeprecated.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
-
DefaultPrEntityResourceNormalizer
public DefaultPrEntityResourceNormalizer(PrGenericService prGenericService, 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:PrEntityResourceNormalizerRetrieves or creates the model entity, updates it with data from the source DTO, and then saves the updated model.- Specified by:
normalizeEntityin interfacePrEntityResourceNormalizer<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
-
getPrGenericService
Deprecated. -
getTargetClass
Deprecated. -
getTargetTypeCode
Deprecated. -
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()Deprecated.
-