Package de.hybris.y2ysync.services
Interface StreamConfigCloningService
-
- All Known Implementing Classes:
DefaultStreamConfigCloningService
public interface StreamConfigCloningService
Provides possibilities to clone the stream configuration for y2ysync
-
-
Method Summary
All Methods Instance Methods Abstract 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.Y2YStreamConfigurationContainerModel
cloneStreamContainer(Y2YStreamConfigurationContainerModel y2YStreamConfigurationContainer, java.lang.String containerId)
Clones the given StreamConfigurationContainer with all assigned StreamConfigurations.
-
-
-
Method Detail
-
cloneStreamContainer
Y2YStreamConfigurationContainerModel cloneStreamContainer(Y2YStreamConfigurationContainerModel y2YStreamConfigurationContainer, java.lang.String containerId)
Clones the given StreamConfigurationContainer with all assigned StreamConfigurations. The corresponding Column Definitions are cloned as well.- Parameters:
y2YStreamConfigurationContainer
- the streamConfigurationContainer to clonecontainerId
- the Id of the new (cloned) container- Returns:
- new copy of given container
-
cloneStreamConfigurations
java.util.Set<Y2YStreamConfigurationModel> cloneStreamConfigurations(Y2YStreamConfigurationModel... streamConfigurations)
Clones 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.- Parameters:
streamConfigurations
- the stream configuration objects to be cloned.- Returns:
- the cloned Stream Configurations
-
-