Merge "Invalid ApplicationExceptionTest"
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / auditLog / FnAuditLogService.java
1 package org.onap.portal.service.auditLog;
2
3 import org.onap.portal.domain.db.fn.FnAuditLog;
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 FnAuditLogService {
11
12     private final FnAuditLogDao fnAuditLogDao;
13
14     @Autowired
15     public FnAuditLogService(FnAuditLogDao fnAuditLogDao) {
16         this.fnAuditLogDao = fnAuditLogDao;
17     }
18
19     public List<FnAuditLog> saveAll(List<FnAuditLog> auditLogs) {
20         return fnAuditLogDao.saveAll(auditLogs);
21     }
22 }