Project

General

Profile

1
package eu.dnetlib.openaire.user.registeredService;
2

    
3
import eu.dnetlib.openaire.user.pojos.RegisteredService;
4

    
5
import java.sql.SQLException;
6
import java.util.List;
7

    
8
public interface RegisteredServiceDao {
9

    
10
    public int insertRegisteredService(RegisteredService registeredService) throws SQLException ;
11
    public boolean update (final RegisteredService registeredService) throws SQLException;
12
    public RegisteredService fetchRegisteredServiceById(int id) throws SQLException;
13
    public List<RegisteredService> fetchAllRegisteredServicesByOwner(String owner) throws SQLException;
14

    
15
}
(2-2/3)