blob: 82853dcd84b77d5b7a4678bcd05bb80a822658d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package org.openecomp.portalapp.widget.service;
import java.util.List;
import org.openecomp.portalapp.widget.domain.RoleApp;
import org.openecomp.portalapp.widget.domain.WidgetCatalog;
public interface WidgetCatalogService {
List<WidgetCatalog> getWidgetCatalog();
List<WidgetCatalog> 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<WidgetCatalog> getWidgetsByServiceId(Long serviceId);
}
|