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

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

@Service
public class FnQzSchedulerStateService {

    private final FnQzSchedulerStateDao fnQzSchedulerStateDao;

    @Autowired
    public FnQzSchedulerStateService(FnQzSchedulerStateDao fnQzSchedulerStateDao) {
        this.fnQzSchedulerStateDao = fnQzSchedulerStateDao;
    }

    public FnQzSchedulerState save(FnQzSchedulerState schedulerState) {
        return fnQzSchedulerStateDao.save(schedulerState);
    }
}