X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fservice%2Ffunction%2FFnFunctionService.java;fp=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fservice%2Ffunction%2FFnFunctionService.java;h=d2361bea02504ba002bb60d63badf76b5213b599;hb=9a391d0c4cca00a1cd448a6ce3fa755d42c8fd5d;hp=0000000000000000000000000000000000000000;hpb=2b436dba4b7c12e8c97f040753d0d5044d580b8d;p=portal.git diff --git a/portal-BE/src/main/java/org/onap/portal/service/function/FnFunctionService.java b/portal-BE/src/main/java/org/onap/portal/service/function/FnFunctionService.java new file mode 100644 index 00000000..d2361bea --- /dev/null +++ b/portal-BE/src/main/java/org/onap/portal/service/function/FnFunctionService.java @@ -0,0 +1,22 @@ +package org.onap.portal.service.function; + +import org.onap.portal.domain.db.fn.FnFunction; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class FnFunctionService { + + private final FnFunctionDao fnFunctionDao; + + @Autowired + public FnFunctionService(FnFunctionDao fnFunctionDao) { + this.fnFunctionDao = fnFunctionDao; + } + + public List saveAll(List fnFunctions) { + return fnFunctionDao.saveAll(fnFunctions); + } +}