public class AlertWebServiceClient extends BaseWebServiceClient<AlertWebService> implements eu.dnetlib.api.functionality.AlertService
AlertService,
AlertWebService,
AlertServiceExceptionwebService| Constructor and Description |
|---|
AlertWebServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubscription(eu.dnetlib.domain.functionality.AlertSubscription subscription) |
void |
addTemplate(eu.dnetlib.domain.functionality.AlertTemplate template) |
void |
alert(URL notificationService,
eu.dnetlib.domain.functionality.NotificationEvent event) |
int |
countAlertResults(URL notificationService,
String queryId,
Date date,
String resultId) |
void |
disableSubscription(String templateId,
URL notificationService,
String queryId,
String resultId,
String alertMode,
URI subscriber) |
void |
enableSubscription(String templateId,
URL notificationService,
String queryId,
String resultId,
String alertMode,
URI subscriber) |
eu.dnetlib.domain.functionality.ResultPage |
getAlertResults(URL notificationService,
String queryId,
String resultId,
Date fromDate,
Date toDate,
int limit,
int offset) |
eu.dnetlib.domain.functionality.ObjectPage<eu.dnetlib.domain.functionality.AlertSubscription> |
getSubscriptions(int pageNumber,
int pageSize) |
SortedSet<eu.dnetlib.domain.functionality.AlertSubscription> |
getSubscriptions(String alertMode,
String subscriber,
int limit,
int offset) |
SortedSet<String> |
getSupportedAlertModes() |
eu.dnetlib.domain.functionality.ObjectPage<eu.dnetlib.domain.functionality.AlertTemplate> |
getTemplates(int pageNumber,
int pageSize) |
void |
removeSubscription(String templateId,
URL notificationService,
String queryId,
String resultId,
String alertMode,
URI subscriber) |
void |
removeTemplate(String templateId) |
getWebService, identify, notify, setWebService, setWebServicepublic SortedSet<String> getSupportedAlertModes()
getSupportedAlertModes in interface eu.dnetlib.api.functionality.AlertServicepublic eu.dnetlib.domain.functionality.ObjectPage<eu.dnetlib.domain.functionality.AlertTemplate> getTemplates(int pageNumber,
int pageSize)
throws eu.dnetlib.api.functionality.AlertServiceException
getTemplates in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void addTemplate(eu.dnetlib.domain.functionality.AlertTemplate template)
throws eu.dnetlib.api.functionality.AlertServiceException
addTemplate in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void removeTemplate(String templateId) throws eu.dnetlib.api.functionality.AlertServiceException
removeTemplate in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic eu.dnetlib.domain.functionality.ObjectPage<eu.dnetlib.domain.functionality.AlertSubscription> getSubscriptions(int pageNumber,
int pageSize)
throws eu.dnetlib.api.functionality.AlertServiceException
getSubscriptions in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic SortedSet<eu.dnetlib.domain.functionality.AlertSubscription> getSubscriptions(String alertMode, String subscriber, int limit, int offset) throws eu.dnetlib.api.functionality.AlertServiceException
getSubscriptions in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void addSubscription(eu.dnetlib.domain.functionality.AlertSubscription subscription)
throws eu.dnetlib.api.functionality.AlertServiceException
addSubscription in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void enableSubscription(String templateId, URL notificationService, String queryId, String resultId, String alertMode, URI subscriber) throws eu.dnetlib.api.functionality.AlertServiceException
enableSubscription in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void disableSubscription(String templateId, URL notificationService, String queryId, String resultId, String alertMode, URI subscriber) throws eu.dnetlib.api.functionality.AlertServiceException
disableSubscription in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void removeSubscription(String templateId, URL notificationService, String queryId, String resultId, String alertMode, URI subscriber) throws eu.dnetlib.api.functionality.AlertServiceException
removeSubscription in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic int countAlertResults(URL notificationService, String queryId, Date date, String resultId) throws eu.dnetlib.api.functionality.AlertServiceException
countAlertResults in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic eu.dnetlib.domain.functionality.ResultPage getAlertResults(URL notificationService, String queryId, String resultId, Date fromDate, Date toDate, int limit, int offset) throws eu.dnetlib.api.functionality.AlertServiceException
getAlertResults in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionpublic void alert(URL notificationService, eu.dnetlib.domain.functionality.NotificationEvent event) throws eu.dnetlib.api.functionality.AlertServiceException
alert in interface eu.dnetlib.api.functionality.AlertServiceeu.dnetlib.api.functionality.AlertServiceExceptionCopyright © 2017. All rights reserved.