Class DefaultScriptDecorator
java.lang.Object
de.hybris.platform.odata2services.export.impl.AbstractExportConfigurationDecorator
de.hybris.platform.odata2services.export.impl.DefaultScriptDecorator
- All Implemented Interfaces:
ExportConfigurationDecorator
The script decorator to augment export configuration with referenced scripts.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScriptDecorator(@NotNull DescriptorFactory descriptorFactory, @NotNull IntegrationObjectService integrationObjectService, @NotNull IntegrationObjectConversionService conversionService, @NotNull ModelScriptsRepository scriptsRepository, @NotNull EntitySetNameGenerator nameGenerator) Instantiate a new instance of the script decorator. -
Method Summary
Modifier and TypeMethodDescriptiondecorate(Set<ExportEntity> exportEntities) Augment export entities.Methods inherited from class de.hybris.platform.odata2services.export.impl.AbstractExportConfigurationDecorator
constructPayload, constructRequestUrl, exportEndpoint, extractProperties, extractProperty, getIntegrationObjectService, setExportConfigurationFilter
-
Constructor Details
-
DefaultScriptDecorator
public DefaultScriptDecorator(@NotNull @NotNull DescriptorFactory descriptorFactory, @NotNull @NotNull IntegrationObjectService integrationObjectService, @NotNull @NotNull IntegrationObjectConversionService conversionService, @NotNull @NotNull ModelScriptsRepository scriptsRepository, @NotNull @NotNull EntitySetNameGenerator nameGenerator) Instantiate a new instance of the script decorator.- Parameters:
descriptorFactory- to create the integration object descriptorintegrationObjectService- to find the integration objectconversionService- to convert the integration objectnameGenerator- to generate the entity set name
-
-
Method Details
-
decorate
Description copied from interface:ExportConfigurationDecoratorAugment export entities.- Parameters:
exportEntities- export entities to be augmented- Returns:
- augmented export entities
-