a91dee82db28a985cff4b356224a3ac79e33119e
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / roleFunction / FnRoleFunctionService.java
1 package org.onap.portal.service.roleFunction;
2
3 import org.onap.portal.domain.db.fn.FnRoleFunction;
4 import org.springframework.beans.factory.annotation.Autowired;
5 import org.springframework.stereotype.Service;
6
7 import java.util.List;
8
9 @Service
10 public class FnRoleFunctionService {
11
12     private final FnRoleFunctionDao fnRoleFunctionDao;
13
14     @Autowired
15     public FnRoleFunctionService(FnRoleFunctionDao fnRoleFunctionDao) {
16         this.fnRoleFunctionDao = fnRoleFunctionDao;
17     }
18
19     public List<FnRoleFunction> saveAll(List<FnRoleFunction> roleFunctions) {
20         return fnRoleFunctionDao.saveAll(roleFunctions);
21     }
22 }