1 |
58394
|
konstantin
|
package eu.dnetlib.uoaadmintools.dao.MongoDBDAOs;
|
2 |
|
|
|
3 |
|
|
import eu.dnetlib.uoaadmintools.dao.PortalSubscribersDAO;
|
4 |
|
|
import eu.dnetlib.uoaadmintools.entities.subscriber.PortalSubscribers;
|
5 |
|
|
import org.springframework.data.mongodb.repository.MongoRepository;
|
6 |
|
|
|
7 |
|
|
import java.util.List;
|
8 |
|
|
|
9 |
|
|
public interface MongoDBPortalSubscribersDAO extends PortalSubscribersDAO, MongoRepository<PortalSubscribers, String> {
|
10 |
|
|
|
11 |
|
|
List<PortalSubscribers> findAll();
|
12 |
|
|
|
13 |
|
|
PortalSubscribers findById(String Id);
|
14 |
|
|
|
15 |
|
|
PortalSubscribers findByPid(String Pid);
|
16 |
|
|
|
17 |
|
|
PortalSubscribers save(PortalSubscribers portalSubscribers);
|
18 |
|
|
|
19 |
|
|
void deleteAll();
|
20 |
|
|
|
21 |
|
|
void delete(String id);
|
22 |
|
|
}
|