summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java
diff options
context:
space:
mode:
Diffstat (limited to 'portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java')
-rw-r--r--portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java b/portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java
new file mode 100644
index 00000000..f0c273ad
--- /dev/null
+++ b/portal-BE/src/main/java/org/onap/portal/service/ep/EpWidgetCatalogService.java
@@ -0,0 +1,21 @@
+package org.onap.portal.service.ep;
+
+import org.onap.portal.dao.fn.EpWidgetCatalogDao;
+import org.onap.portal.domain.db.ep.EpWidgetCatalog;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class EpWidgetCatalogService {
+
+ private final EpWidgetCatalogDao epWidgetCatalogDao;
+
+ @Autowired
+ public EpWidgetCatalogService(EpWidgetCatalogDao epWidgetCatalogDao) {
+ this.epWidgetCatalogDao = epWidgetCatalogDao;
+ }
+
+ public EpWidgetCatalog save(final EpWidgetCatalog epWidgetCatalog){
+ return epWidgetCatalogDao.save(epWidgetCatalog);
+ }
+}