Interface StreamConfigCloningService

All Known Implementing Classes:
DefaultStreamConfigCloningService

public interface StreamConfigCloningService
Provides possibilities to clone the stream configuration for y2ysync
  • Method Details

    • cloneStreamContainer

      Y2YStreamConfigurationContainerModel cloneStreamContainer(Y2YStreamConfigurationContainerModel y2YStreamConfigurationContainer, String containerId)
      Clones the given StreamConfigurationContainer with all assigned StreamConfigurations. The corresponding Column Definitions are cloned as well.
      Parameters:
      y2YStreamConfigurationContainer - the streamConfigurationContainer to clone
      containerId - the Id of the new (cloned) container
      Returns:
      new copy of given container
    • cloneStreamConfigurations

      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