@Service(value="brokerService") public class BrokerServiceImpl extends eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServlet implements BrokerService
| Constructor and Description |
|---|
BrokerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
EventsPage |
advancedShowEvents(AdvQueryObject advQueryObject,
long page,
long pageSize) |
DatasourcesBroker |
getDatasourcesOfUser(String userEmail,
boolean includeShared,
boolean includeByOthers) |
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) |
void |
init(javax.servlet.ServletConfig config) |
EventsPage |
showEvents(String datasourceName,
String topic,
long page) |
Subscription |
subscribe(OpenaireSubscription obj) |
void |
unsubscribe(List<String> subscriptionIds) |
void |
unsubscribe(String subscriptionId) |
getBean, getBean, getService, init, processCallcheckPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class com.google.gwt.user.server.rpc.RemoteServiceServletjavax.servlet.ServletExceptionpublic List<BrowseEntry> getTopicsForDatasource(String datasourceName) throws BrokerException
getTopicsForDatasource in interface BrokerServicedatasourceName - the name of the data sourceBrokerException - containing the error code from the serverpublic EventsPage showEvents(String datasourceName, String topic, long page) throws BrokerException
showEvents in interface BrokerServicedatasourceName - the name of the datasourcetopic - the name of the topic to filterpage - the page numberBrokerException - containing the error code from the serverpublic EventsPage advancedShowEvents(AdvQueryObject advQueryObject, long page, long pageSize) throws BrokerException
advancedShowEvents in interface BrokerServiceadvQueryObject - a pojo class containing the filter parameterspage - the number of the pagepageSize - the page sizeBrokerExceptionpublic DatasourcesBroker getDatasourcesOfUser(String userEmail, boolean includeShared, boolean includeByOthers) throws BrokerException
getDatasourcesOfUser in interface BrokerServiceBrokerExceptionpublic Map<String,List<SimpleSubscriptionDesc>> getSimpleSubscriptionsOfUser(String userEmail) throws BrokerException
getSimpleSubscriptionsOfUser in interface BrokerServiceBrokerExceptionpublic Subscription subscribe(OpenaireSubscription obj) throws BrokerException
subscribe in interface BrokerServiceBrokerExceptionpublic void unsubscribe(String subscriptionId) throws BrokerException
unsubscribe in interface BrokerServiceBrokerExceptionpublic Subscription getSubscription(String subscriptionId) throws BrokerException
getSubscription in interface BrokerServiceBrokerExceptionpublic void unsubscribe(List<String> subscriptionIds) throws BrokerException
unsubscribe in interface BrokerServiceBrokerExceptionpublic Map<String,Term> getDnetTopics() throws BrokerException
getDnetTopics in interface BrokerServiceBrokerExceptionpublic EventsPage getNotificationsBySubscriptionId(String subscriptionId, String page, String size) throws BrokerException
getNotificationsBySubscriptionId in interface BrokerServiceBrokerExceptionpublic Map<String,List<Subscription>> getSubscriptionsOfUser(String userEmail) throws BrokerException
getSubscriptionsOfUser in interface BrokerServiceBrokerExceptionCopyright © 2019. All rights reserved.