Class PartyRelatedPartyAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyModel,Party>
de.hybris.platform.tuawebservicesresources.mappers.party.PartyRelatedPartyAttributeMapper
This attribute Mapper class maps data for related party attribute between
TuaPartyModel and Party- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPartyRelatedPartyAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TuaBusinessInteractionRoleModel>Returns the business interaction role list for the provided party.protected ma.glasnost.orika.MapperFacadeprotected List<TuaPartyRoleAssociationModel>Returns the party role association list for the provided party.voidpopulateTargetAttributeFromSource(TuaPartyModel source, Party target, ma.glasnost.orika.MappingContext context) Populates the target attribute value obtained by processing the source object.Methods inherited from class de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper
getSourceAttributeName, getTargetAttributeName, populateSourceAttributeFromTarget
-
Constructor Details
-
PartyRelatedPartyAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaPartyModel source, Party target, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the target attribute value obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTuaAttributeMapper<TuaPartyModel,Party> - Parameters:
source- source objecttarget- target object
-
getPartRoleAssociations
Returns the party role association list for the provided party.- Parameters:
party- The party- Returns:
- List of
TuaPartyRoleAssociationModel
-
getBusinessInteractionRoles
Returns the business interaction role list for the provided party.- Parameters:
party- The party- Returns:
- List of
TuaBusinessInteractionRoleModel
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-