| Constructor and Description |
|---|
BrokerApiImpl() |
| Modifier and Type | Method and Description |
|---|---|
EventsPage |
advancedShowEvents(String params) |
DatasourcesBroker |
getDatasourcesOfUser(String params) |
Map<String,Term> |
getDnetTopics() |
EventsPage |
getNotificationsBySubscriptionId(String subscriptionId,
String page,
String size) |
Map<String,List<SimpleSubscriptionDesc>> |
getSimpleSubscriptionsOfUser(String userEmail) |
Subscription |
getSubscription(String subscriptionId) |
Map<String,List<Subscription>> |
getSubscriptionsOfUser(String userEmail) |
List<BrowseEntry> |
getTopicsForDatasource(String datasourceName) |
EventsPage |
showEvents(String params) |
Subscription |
subscribe(OpenaireSubscription obj) |
void |
unsubscribe(String subscriptionId) |
public DatasourcesBroker getDatasourcesOfUser(String params) throws org.json.JSONException
getDatasourcesOfUser in interface BrokerApiorg.json.JSONExceptionpublic List<BrowseEntry> getTopicsForDatasource(@PathVariable(value="datasourceName") String datasourceName) throws BrokerException
getTopicsForDatasource in interface BrokerApiBrokerExceptionpublic EventsPage advancedShowEvents(String params) throws BrokerException, org.json.JSONException, IOException
advancedShowEvents in interface BrokerApiBrokerExceptionorg.json.JSONExceptionIOExceptionpublic EventsPage showEvents(String params) throws BrokerException, org.json.JSONException
showEvents in interface BrokerApiBrokerExceptionorg.json.JSONExceptionpublic Map<String,List<SimpleSubscriptionDesc>> getSimpleSubscriptionsOfUser(@PathVariable(value="userEmail") String userEmail) throws BrokerException
getSimpleSubscriptionsOfUser in interface BrokerApiBrokerExceptionpublic Subscription subscribe(OpenaireSubscription obj) throws BrokerException
subscribe in interface BrokerApiBrokerExceptionpublic void unsubscribe(@PathVariable(value="subscriptionId")
String subscriptionId)
throws BrokerException
unsubscribe in interface BrokerApiBrokerExceptionpublic Subscription getSubscription(@PathVariable(value="subscriptionId") String subscriptionId) throws BrokerException
getSubscription in interface BrokerApiBrokerExceptionpublic Map<String,Term> getDnetTopics() throws BrokerException
getDnetTopics in interface BrokerApiBrokerExceptionpublic EventsPage getNotificationsBySubscriptionId(@PathVariable(value="subscriptionId") String subscriptionId, @PathVariable(value="page") String page, @PathVariable(value="size") String size) throws BrokerException
getNotificationsBySubscriptionId in interface BrokerApiBrokerExceptionpublic Map<String,List<Subscription>> getSubscriptionsOfUser(@PathVariable(value="userEmail") String userEmail) throws BrokerException
getSubscriptionsOfUser in interface BrokerApiBrokerExceptionCopyright © 2019. All rights reserved.