dnet45/modules/uoa-admin-tools/src/main/java/eu/dnetlib/uoaadmintools/dao/MongoDBLayoutDAO.java @ 57319
1 | 55027 | k.triantaf | package eu.dnetlib.uoaadmintools.dao; |
---|---|---|---|
2 | |||
3 | import eu.dnetlib.uoaadmintools.entities.Layout; |
||
4 | import org.springframework.data.mongodb.repository.MongoRepository; |
||
5 | |||
6 | import java.util.List; |
||
7 | |||
8 | public interface MongoDBLayoutDAO extends LayoutDAO, MongoRepository<Layout, String> { |
||
9 | |||
10 | List<Layout> findAll(); |
||
11 | |||
12 | Layout findById(String Id); |
||
13 | |||
14 | Layout save(Layout entity); |
||
15 | |||
16 | void deleteAll(); |
||
17 | |||
18 | void delete(String id); |
||
19 | }
|