Dao object moved from dao packege to package by component in service folder
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / luTabSet / FnLuTabSetService.java
diff --git a/portal-BE/src/main/java/org/onap/portal/service/luTabSet/FnLuTabSetService.java b/portal-BE/src/main/java/org/onap/portal/service/luTabSet/FnLuTabSetService.java
new file mode 100644 (file)
index 0000000..b9c131a
--- /dev/null
@@ -0,0 +1,20 @@
+package org.onap.portal.service.luTabSet;
+
+import org.onap.portal.domain.db.fn.FnLuTabSet;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+@Service
+public class FnLuTabSetService {
+
+    private final FnLuTabSetDao fnLuTabSetDao;
+
+    @Autowired
+    public FnLuTabSetService(FnLuTabSetDao fnLuTabSetDao) {
+        this.fnLuTabSetDao = fnLuTabSetDao;
+    }
+
+    public FnLuTabSet save(FnLuTabSet fnLuTabSet) {
+        return fnLuTabSetDao.save(fnLuTabSet);
+    }
+}