Package com.hybris.cockpitng.admin.impl
Class DefaultWidgetGroupingService
- java.lang.Object
-
- com.hybris.cockpitng.admin.impl.DefaultWidgetGroupingService
-
- All Implemented Interfaces:
WidgetGroupingService
public class DefaultWidgetGroupingService extends java.lang.Object implements WidgetGroupingService
Default service for grouping and ungrouping widgets
-
-
Constructor Summary
Constructors Constructor Description DefaultWidgetGroupingService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgroupWidget(Widgetslot widgetslot)Creates a composed widget out of the widget attached to the specified widgetslot.voidsetCockpitAdminService(CockpitAdminService cockpitAdminService)voidsetSessionWidgetInstanceRegistry(SessionWidgetInstanceRegistry sessionWidgetInstanceRegistry)voidsetWidgetPersistenceService(WidgetPersistenceService widgetPersistenceService)voidsetWidgetService(WidgetService widgetService)voidungroupWidget(Widgetslot widgetslot)Replaces the composed widget attached to the specifed widgetslot with it's decompiled widget tree.
-
-
-
Method Detail
-
groupWidget
public void groupWidget(Widgetslot widgetslot)
Description copied from interface:WidgetGroupingServiceCreates a composed widget out of the widget attached to the specified widgetslot. Also replaces the specified widget with the newly created composed widget.- Specified by:
groupWidgetin interfaceWidgetGroupingService- Parameters:
widgetslot- to add a widget
-
ungroupWidget
public void ungroupWidget(Widgetslot widgetslot)
Description copied from interface:WidgetGroupingServiceReplaces the composed widget attached to the specifed widgetslot with it's decompiled widget tree.- Specified by:
ungroupWidgetin interfaceWidgetGroupingService- Parameters:
widgetslot- to add a widget
-
setCockpitAdminService
public void setCockpitAdminService(CockpitAdminService cockpitAdminService)
-
setWidgetService
public void setWidgetService(WidgetService widgetService)
-
setWidgetPersistenceService
public void setWidgetPersistenceService(WidgetPersistenceService widgetPersistenceService)
-
setSessionWidgetInstanceRegistry
public void setSessionWidgetInstanceRegistry(SessionWidgetInstanceRegistry sessionWidgetInstanceRegistry)
-
-