Class DefaultRuntimeAttributeConverter
java.lang.Object
de.hybris.platform.odata2services.export.impl.DefaultRuntimeAttributeConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<ConfigurationBundleEntity,Set<ExportEntity>>
public class DefaultRuntimeAttributeConverter
extends Object
implements org.springframework.core.convert.converter.Converter<ConfigurationBundleEntity,Set<ExportEntity>>
The default export configuration runtime attributes converter.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRuntimeAttributeConverter(@NotNull DescriptorFactory descriptorFactory, @NotNull EntitySetNameGenerator nameGenerator, @NotNull IntegrationObjectService integrationObjectService, @NotNull ExportConfigurationSearchService searchService, @NotNull IntegrationObjectConversionService conversionService) Instantiates a new runtime attribute converter. -
Method Summary
Modifier and TypeMethodDescriptionconvert(ConfigurationBundleEntity configBundle) ConvertsConfigurationBundleEntityintoExportEntity.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
DefaultRuntimeAttributeConverter
public DefaultRuntimeAttributeConverter(@NotNull @NotNull DescriptorFactory descriptorFactory, @NotNull @NotNull EntitySetNameGenerator nameGenerator, @NotNull @NotNull IntegrationObjectService integrationObjectService, @NotNull @NotNull ExportConfigurationSearchService searchService, @NotNull @NotNull IntegrationObjectConversionService conversionService) Instantiates a new runtime attribute converter.- Parameters:
descriptorFactory- to create an integration object descriptornameGenerator- to generate the entity set nameintegrationObjectService- to find an integration objectsearchService- to find runtime attribute descriptorsconversionService- to convert an integration object
-
-
Method Details
-
convert
ConvertsConfigurationBundleEntityintoExportEntity.- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<ConfigurationBundleEntity,Set<ExportEntity>> - Parameters:
configBundle- passes a collection of integration object bundles- Returns:
- the set export entity
Set<ExportEntity>
-