Project

General

Profile

« Previous | Next » 

Revision 46221

Added by Stefanos Gatsios about 7 years ago

+ Included subscription related API calls
+ Added missing DTOs for subscription events
! Delete subscription is not yet implemented

#Yet untested

View differences:

BrokerService.java
3 3
import com.google.gwt.user.client.rpc.RemoteService;
4 4
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
5 5
import eu.dnetlib.repo.manager.shared.BrokerException;
6
import eu.dnetlib.repo.manager.shared.broker.AdvQueryObject;
7
import eu.dnetlib.repo.manager.shared.broker.BrowseEntry;
8
import eu.dnetlib.repo.manager.shared.broker.DatasourcesBroker;
9
import eu.dnetlib.repo.manager.shared.broker.EventsPage;
6
import eu.dnetlib.repo.manager.shared.broker.*;
10 7

  
11 8
import java.util.List;
9
import java.util.Map;
12 10

  
13 11
/**
14 12
 * Created by stefania on 10/26/16.
......
23 21
    EventsPage advancedShowEvents(AdvQueryObject advQueryObject, long page, long pageSize) throws BrokerException;
24 22

  
25 23
    DatasourcesBroker getDatasourcesOfUser(String userEmail, boolean includeShared, boolean includeByOthers) throws BrokerException;
24

  
25
    Map<String, List<SimpleSubscriptionDesc>> getSubscriptionsOfUser(String userEmail) throws BrokerException;
26

  
27
    ;
28

  
29
    Subscription subscribe(OpenaireSubscription obj) throws BrokerException;
30

  
31
    void unsubscribe(String subscriptionId) throws BrokerException;
32

  
26 33
}

Also available in: Unified diff