Revision 59639
Added by Katerina Iatropoulou over 3 years ago
RegisteredServiceDao.java | ||
---|---|---|
5 | 5 |
import java.sql.SQLException; |
6 | 6 |
import java.util.List; |
7 | 7 |
|
8 |
import static eu.dnetlib.openaire.user.queries.UserVerificationQueries.COUNT_ALL; |
|
9 |
|
|
8 | 10 |
public interface RegisteredServiceDao { |
9 | 11 |
|
10 | 12 |
public int insertRegisteredService(RegisteredService registeredService) throws SQLException ; |
... | ... | |
12 | 14 |
public boolean delete (int id) throws SQLException; |
13 | 15 |
public RegisteredService fetchRegisteredServiceById(int id) throws SQLException; |
14 | 16 |
public List<RegisteredService> fetchAllRegisteredServicesByOwner(String owner) throws SQLException; |
17 |
public long countRegisteredServices(String owner) throws SQLException; |
|
15 | 18 |
|
16 |
} |
|
19 |
} |
Also available in: Unified diff
Added count for registered services