Package de.hybris.y2ysync.services.impl
Class DefaultStreamConfigCloningService
- java.lang.Object
-
- de.hybris.y2ysync.services.impl.DefaultStreamConfigCloningService
-
- All Implemented Interfaces:
StreamConfigCloningService
public class DefaultStreamConfigCloningService extends java.lang.Object implements StreamConfigCloningService
Default implementation of StreamConfigCloningService
-
-
Constructor Summary
Constructors Constructor Description DefaultStreamConfigCloningService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Y2YStreamConfigurationModel>cloneStreamConfigurations(Y2YStreamConfigurationModel... streamConfigurations)Clones the given StreamConfigurations, the corresponding Column Definitions are cloned as well.Y2YStreamConfigurationContainerModelcloneStreamContainer(Y2YStreamConfigurationContainerModel y2YStreamConfigurationContainer, java.lang.String containerId)Clones the given StreamConfigurationContainer with all assigned StreamConfigurations.voidsetItemModelCloneCreator(ItemModelCloneCreator itemModelCloneCreator)
-
-
-
Method Detail
-
cloneStreamContainer
public Y2YStreamConfigurationContainerModel cloneStreamContainer(Y2YStreamConfigurationContainerModel y2YStreamConfigurationContainer, java.lang.String containerId)
Description copied from interface:StreamConfigCloningServiceClones the given StreamConfigurationContainer with all assigned StreamConfigurations. The corresponding Column Definitions are cloned as well.- Specified by:
cloneStreamContainerin interfaceStreamConfigCloningService- Parameters:
y2YStreamConfigurationContainer- the streamConfigurationContainer to clonecontainerId- the Id of the new (cloned) container- Returns:
- new copy of given container
-
cloneStreamConfigurations
public java.util.Set<Y2YStreamConfigurationModel> cloneStreamConfigurations(Y2YStreamConfigurationModel... streamConfigurations)
Description copied from interface:StreamConfigCloningServiceClones the given StreamConfigurations, the corresponding Column Definitions are cloned as well. The container assignment for every cloned StreamConfiguration is cleared, so the caller is responsible for eventually doing it afterwards.- Specified by:
cloneStreamConfigurationsin interfaceStreamConfigCloningService- Parameters:
streamConfigurations- the stream configuration objects to be cloned.- Returns:
- the cloned Stream Configurations
-
setItemModelCloneCreator
public void setItemModelCloneCreator(ItemModelCloneCreator itemModelCloneCreator)
-
-