Interface ConfigurationDeepCopyHandler
- All Known Implementing Classes:
ConfigurationDeepCopyHandlerImpl
public interface ConfigurationDeepCopyHandler
Handles product configurations when deep copying abstract order entries. Decides if it's needed to clone
configurations.
-
Method Summary
Modifier and TypeMethodDescriptiondeepCopyConfiguration(String configId, String productCode, String externalConfiguration, boolean force, ProductConfigurationRelatedObjectType targetObjectType) Deep Copies a configuration.
-
Method Details
-
deepCopyConfiguration
String deepCopyConfiguration(String configId, String productCode, String externalConfiguration, boolean force, ProductConfigurationRelatedObjectType targetObjectType) Deep Copies a configuration. The implementation can decide if a deep copy is needed; if not, the input ID is simply returned.- Parameters:
configId- ID of existing configurationexternalConfiguration- optional - externalConfiguration, if provided this will be used as source, instead of obtaining the external config via the provided configIdproductCode- optional - product code of configurable product to be copiedforce- iftruea deep copy is enforcedtargetObjectType- the order entry object type for which the deep copy is executed- Returns:
- ID of new configuration if a deep copy was performed; input otherwise
-