Class DefaultAlphabeticalIntegrationKeyMetadataGenerator
java.lang.Object
de.hybris.platform.integrationservices.integrationkey.impl.DefaultAlphabeticalIntegrationKeyMetadataGenerator
- All Implemented Interfaces:
IntegrationKeyMetadataGenerator
public class DefaultAlphabeticalIntegrationKeyMetadataGenerator
extends Object
implements IntegrationKeyMetadataGenerator
An implementation of
IntegrationKeyMetadataGenerator that generates metadata representation of all the key attributes
sorted alphabetically.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringformatAliasPart(KeyAttribute keyAttribute) Deprecated, for removal: This API element is subject to removal in a future version.generateKeyMetadata(TypeDescriptor descriptor) Generate a representation of the unique attributes of an item from itsTypeDescriptor.voidsetDescriptorFactory(DescriptorFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.descriptorFactoryproperty will be removed in the future.
-
Constructor Details
-
DefaultAlphabeticalIntegrationKeyMetadataGenerator
public DefaultAlphabeticalIntegrationKeyMetadataGenerator()
-
-
Method Details
-
generateKeyMetadata
Description copied from interface:IntegrationKeyMetadataGeneratorGenerate a representation of the unique attributes of an item from itsTypeDescriptor. This representation is the metadata of how an integrationKey is generated for a given descriptor'sIntegrationObjectItemModel.- Specified by:
generateKeyMetadatain interfaceIntegrationKeyMetadataGenerator- Parameters:
descriptor- type descriptor for the item to generate key metadata for- Returns:
- a String representing the integrationKey metadata according the strategy defined in the implementation. If not implemented, this method will return an empty String as default.
-
generateKeyMetadata
@Deprecated(since="2211.FP1", forRemoval=true) public String generateKeyMetadata(IntegrationObjectItemModel item) Deprecated, for removal: This API element is subject to removal in a future version.usegenerateKeyMetadata(TypeDescriptor)instead.Generate a representation of the unique attributes of the given item. This representation is the metadata of how an integrationKey is generated for a givenIntegrationObjectItemModel.- Specified by:
generateKeyMetadatain interfaceIntegrationKeyMetadataGenerator- Parameters:
item- the item to generate key metadata for- Returns:
- a String representing the integrationKey metadata according the strategy defined in the implementation
-
formatAliasPart
-
setDescriptorFactory
@Deprecated(since="2211.FP1", forRemoval=true) public void setDescriptorFactory(DescriptorFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.descriptorFactoryproperty will be removed in the future.
-
generateKeyMetadata(TypeDescriptor)instead.