Class ConfigurationDeepCopyHandlerImpl

java.lang.Object
de.hybris.platform.sap.productconfig.services.strategies.lifecycle.impl.ConfigurationDeepCopyHandlerImpl
All Implemented Interfaces:
ConfigurationDeepCopyHandler

public class ConfigurationDeepCopyHandlerImpl extends Object implements ConfigurationDeepCopyHandler
  • Constructor Details

    • ConfigurationDeepCopyHandlerImpl

      public ConfigurationDeepCopyHandlerImpl()
  • Method Details

    • deepCopyConfiguration

      public String deepCopyConfiguration(String configId, String productCode, String externalConfiguration, boolean force, ProductConfigurationRelatedObjectType targetObjectType)
      Description copied from interface: ConfigurationDeepCopyHandler
      Deep Copies a configuration. The implementation can decide if a deep copy is needed; if not, the input ID is simply returned.
      Specified by:
      deepCopyConfiguration in interface ConfigurationDeepCopyHandler
      Parameters:
      configId - ID of existing configuration
      productCode - optional - product code of configurable product to be copied
      externalConfiguration - optional - externalConfiguration, if provided this will be used as source, instead of obtaining the external config via the provided configId
      force - if true a deep copy is enforced
      targetObjectType - 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
    • prepareRetrievalOptions

      protected ConfigurationRetrievalOptions prepareRetrievalOptions(ProductConfigurationRelatedObjectType targetObjectType)
    • getConfigurationService

      protected ProductConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ProductConfigurationService configurationService)