1
|
package eu.dnetlib.uoaadmintools.dao;
|
2
|
|
3
|
import eu.dnetlib.uoaadmintools.entities.Page;
|
4
|
|
5
|
import java.util.List;
|
6
|
|
7
|
public interface PageDAO {
|
8
|
List<Page> findAll();
|
9
|
List<Page> findByConnect(boolean connect);
|
10
|
List<Page> findByCommunities(boolean communities);
|
11
|
List<Page> findByOpenaire(boolean openaire);
|
12
|
|
13
|
Page findByConnectAndRoute(boolean connect, String route);
|
14
|
Page findByCommunitiesAndRoute(boolean communities, String route);
|
15
|
Page findByOpenaireAndRoute(boolean openaire, String route);
|
16
|
|
17
|
Page findById(String Id);
|
18
|
Page findByRoute(String route);
|
19
|
|
20
|
Page save(Page page);
|
21
|
|
22
|
void deleteAll();
|
23
|
|
24
|
void delete(String id);
|
25
|
}
|
26
|
|