summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main/java/org/onap/portal/service/sharedContext/FnSharedContextService.java
blob: 7a427ae98e3c17ba2b2aea23ea559d521c07502a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.onap.portal.service.sharedContext;

import org.onap.portal.domain.db.fn.FnSharedContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FnSharedContextService {

    private final FnSharedContextDao fnSharedContextDao;

    @Autowired
    public FnSharedContextService(FnSharedContextDao fnSharedContextDao) {
        this.fnSharedContextDao = fnSharedContextDao;
    }

    public List<FnSharedContext> saveAll(List<FnSharedContext> sharedContexts) {
        return fnSharedContextDao.saveAll(sharedContexts);
    }
}