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=059edd0c134cecfa6939f35fb8eb847d4c40631f;hp=0000000000000000000000000000000000000000;hpb=ba2d7bcaf4ce42fd0c8742dc462ef0160bdfd8f7;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); + } +}