1 package org.openecomp.portalapp.widget.service;
5 import org.openecomp.portalapp.widget.domain.WidgetCatalog;
7 public interface WidgetCatalogService {
9 List<WidgetCatalog> getWidgetCatalog();
11 List<WidgetCatalog> getUserWidgetCatalog(String loginName);
13 WidgetCatalog getWidgetCatalog(Long widgetCatalogId);
15 void deleteWidgetCatalog(long WidgetCatalogId);
17 long saveWidgetCatalog(WidgetCatalog newWidgetCatalog);
19 void updateWidgetCatalog(Long widgetCatalogId, WidgetCatalog newWidgetCatalog);
21 Long getServiceIdByWidget(Long widgetCatalogId);
23 boolean getWidgetIdByName(String newWidgetName);
25 List<WidgetCatalog> getWidgetsByServiceId(Long serviceId);