Class DelegatingIntegrationItemToIntegrationKeyValueGenerator
- java.lang.Object
-
- de.hybris.platform.integrationservices.integrationkey.impl.DelegatingIntegrationItemToIntegrationKeyValueGenerator
-
- All Implemented Interfaces:
IntegrationKeyValueGenerator<TypeDescriptor,IntegrationItem>
public final class DelegatingIntegrationItemToIntegrationKeyValueGenerator extends java.lang.Object implements IntegrationKeyValueGenerator<TypeDescriptor,IntegrationItem>
-
-
Constructor Summary
Constructors Constructor Description DelegatingIntegrationItemToIntegrationKeyValueGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringgenerate(TypeDescriptor typeDescriptor, IntegrationItem itemData)Generates a compound key value for a data structure that has one or several key attributes/properties.protected IntegrationItemToMapConvertergetIntegrationItemToMapConverter()protected IntegrationKeyValueGenerator<TypeDescriptor,java.util.Map<java.lang.String,java.lang.Object>>getMapToIntegrationKeyGenerator()voidsetIntegrationItemToMapConverter(IntegrationItemToMapConverter integrationItemToMapConverter)voidsetMapToIntegrationKeyGenerator(IntegrationKeyValueGenerator<TypeDescriptor,java.util.Map<java.lang.String,java.lang.Object>> mapToIntegrationKeyGenerator)
-
-
-
Method Detail
-
generate
public java.lang.String generate(TypeDescriptor typeDescriptor, IntegrationItem itemData)
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
-
getMapToIntegrationKeyGenerator
protected IntegrationKeyValueGenerator<TypeDescriptor,java.util.Map<java.lang.String,java.lang.Object>> getMapToIntegrationKeyGenerator()
-
setMapToIntegrationKeyGenerator
public void setMapToIntegrationKeyGenerator(IntegrationKeyValueGenerator<TypeDescriptor,java.util.Map<java.lang.String,java.lang.Object>> mapToIntegrationKeyGenerator)
-
getIntegrationItemToMapConverter
protected IntegrationItemToMapConverter getIntegrationItemToMapConverter()
-
setIntegrationItemToMapConverter
public void setIntegrationItemToMapConverter(IntegrationItemToMapConverter integrationItemToMapConverter)
-
-