Class PmOrganizationResourceNormalizer<SOURCE,TARGET extends PmOrganizationModel>
java.lang.Object
de.hybris.platform.partytmfwebservices.v1.normalizer.impl.DefaultPmEntityResourceNormalizer<SOURCE,TARGET>
de.hybris.platform.partytmfwebservices.v1.normalizer.impl.PmOrganizationResourceNormalizer<SOURCE,TARGET>
- All Implemented Interfaces:
PmEntityResourceNormalizer<SOURCE,TARGET>
@Deprecated(since="2208")
public class PmOrganizationResourceNormalizer<SOURCE,TARGET extends PmOrganizationModel>
extends DefaultPmEntityResourceNormalizer<SOURCE,TARGET>
Deprecated.
2208
Implementation of
PmEntityResourceNormalizer for PmOrganizationModel- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionPmOrganizationResourceNormalizer(PmGenericService pmGenericService, Class<TARGET> targetClass, String targetTypeCode, ma.glasnost.orika.MapperFacade mapperFacade) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionnormalizeEntity(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.Methods inherited from class de.hybris.platform.partytmfwebservices.v1.normalizer.impl.DefaultPmEntityResourceNormalizer
getMapperFacade, getPmGenericService, getTargetClass, getTargetTypeCode
-
Constructor Details
-
PmOrganizationResourceNormalizer
public PmOrganizationResourceNormalizer(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 PmOrganizationModel> - Overrides:
normalizeEntityin classDefaultPmEntityResourceNormalizer<SOURCE,TARGET extends PmOrganizationModel> - 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
-