Class DelegatingIntegrationItemToIntegrationKeyValueGenerator
java.lang.Object
de.hybris.platform.integrationservices.integrationkey.impl.DelegatingIntegrationItemToIntegrationKeyValueGenerator
- All Implemented Interfaces:
IntegrationKeyValueGenerator<TypeDescriptor,IntegrationItem>
public final class DelegatingIntegrationItemToIntegrationKeyValueGenerator
extends Object
implements IntegrationKeyValueGenerator<TypeDescriptor,IntegrationItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(TypeDescriptor typeDescriptor, IntegrationItem itemData) Generates a compound key value for a data structure that has one or several key attributes/properties.voidsetIntegrationItemToMapConverter(IntegrationItemToMapConverter integrationItemToMapConverter) voidsetMapToIntegrationKeyGenerator(IntegrationKeyValueGenerator<TypeDescriptor, Map<String, Object>> mapToIntegrationKeyGenerator)
-
Constructor Details
-
DelegatingIntegrationItemToIntegrationKeyValueGenerator
public DelegatingIntegrationItemToIntegrationKeyValueGenerator()
-
-
Method Details
-
generate
Description copied from interface:IntegrationKeyValueGeneratorGenerates a compound key value for a data structure that has one or several key attributes/properties.- Specified by:
generatein interfaceIntegrationKeyValueGenerator<TypeDescriptor,IntegrationItem> - Parameters:
typeDescriptor- definition of the payload structure that can be used to determine which elements of the payload structure contain the key value(s).itemData- a data structure to generate the key value for.- Returns:
- integration key string representing the compound value of all key elements of the data structure
-
setMapToIntegrationKeyGenerator
public void setMapToIntegrationKeyGenerator(IntegrationKeyValueGenerator<TypeDescriptor, Map<String, Object>> mapToIntegrationKeyGenerator) -
setIntegrationItemToMapConverter
public void setIntegrationItemToMapConverter(IntegrationItemToMapConverter integrationItemToMapConverter)
-