Class CopyWidgetConfigServiceImpl
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.widget.CopyWidgetConfigServiceImpl
- All Implemented Interfaces:
CopyWidgetConfigService
@Component
public class CopyWidgetConfigServiceImpl
extends Object
implements CopyWidgetConfigService
-
Constructor Summary
ConstructorDescriptionCopyWidgetConfigServiceImpl
(ContentReferenceDao contentReferenceDao, CommandExecutor commandExecutor, Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyMultipleUsedWidgetConfig
(Entity section) Copy widget config entities, which are referenced in the given section, if the config is already in use (widget configurations may not be shared).
-
Constructor Details
-
CopyWidgetConfigServiceImpl
public CopyWidgetConfigServiceImpl(ContentReferenceDao contentReferenceDao, CommandExecutor commandExecutor, Context context)
-
-
Method Details
-
copyMultipleUsedWidgetConfig
Description copied from interface:CopyWidgetConfigService
Copy widget config entities, which are referenced in the given section, if the config is already in use (widget configurations may not be shared).- Specified by:
copyMultipleUsedWidgetConfig
in interfaceCopyWidgetConfigService
- Parameters:
section
- The section entity.
-