package org.onap.portalapp.widget.service; import java.util.List; import org.onap.portalapp.widget.domain.WidgetCatalog; public interface WidgetCatalogService { List getWidgetCatalog(); List getUserWidgetCatalog(String loginName); WidgetCatalog getWidgetCatalog(Long widgetCatalogId); void deleteWidgetCatalog(long WidgetCatalogId); long saveWidgetCatalog(WidgetCatalog newWidgetCatalog); void updateWidgetCatalog(Long widgetCatalogId, WidgetCatalog newWidgetCatalog); Long getServiceIdByWidget(Long widgetCatalogId); boolean getWidgetIdByName(String newWidgetName); List getWidgetsByServiceId(Long serviceId); }