Revision 50409
Added by Panagiotis Kanakakis about 6 years ago
BrokerApi.java | ||
---|---|---|
29 | 29 |
@RequestMapping(value = "/showEvents" , method = RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE) |
30 | 30 |
EventsPage showEvents(@RequestBody String params) throws BrokerException, JSONException; |
31 | 31 |
|
32 |
@RequestMapping(value = "/getSubscriptionsOfUser/{userEmail}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
|
32 |
@RequestMapping(value = "/getSimpleSubscriptionsOfUser/{userEmail}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
|
|
33 | 33 |
@ResponseBody |
34 |
Map<String, List<SimpleSubscriptionDesc>> getSubscriptionsOfUser(String userEmail) throws BrokerException; |
|
34 |
Map<String, List<SimpleSubscriptionDesc>> getSimpleSubscriptionsOfUser(String userEmail) throws BrokerException;
|
|
35 | 35 |
|
36 | 36 |
@RequestMapping(value = "/subscribe" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE) |
37 | 37 |
@ResponseBody |
... | ... | |
54 | 54 |
,produces = MediaType.APPLICATION_JSON_VALUE) |
55 | 55 |
@ResponseBody |
56 | 56 |
EventsPage getNotificationsBySubscriptionId(String subscriptionId,String page,String size) throws BrokerException; |
57 |
|
|
58 |
@RequestMapping(value = "/getSubscriptionsOfUser/{userEmail}" , method = RequestMethod.GET |
|
59 |
,produces = MediaType.APPLICATION_JSON_VALUE) |
|
60 |
@ResponseBody |
|
61 |
Map<String, List<Subscription>> getSubscriptionsOfUser(String userEmail) throws BrokerException; |
|
57 | 62 |
} |
Also available in: Unified diff
Add getSubscriptionsOfUser method. Rename old one to getSimpleSubscriptionsOfUser