public class ForumWebServiceImpl extends BaseDriverWebService<eu.dnetlib.api.functionality.ForumService> implements ForumWebService
service| Constructor and Description |
|---|
ForumWebServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteThread(long threadId)
Delete an existing thread.
|
void |
editThread(long threadId,
String topic,
List<eu.dnetlib.domain.functionality.Post> posts)
Edit an existing thread.
|
long |
openThread(String communityId,
String userId,
String topic)
Open a new thread.
|
eu.dnetlib.domain.functionality.Thread |
searchThread(long threadId)
Search for an existing thread by id.
|
List<eu.dnetlib.domain.functionality.Thread> |
searchThread(String communityId)
Search for existing threads by community.
|
identify, notify, setService, startpublic void deleteThread(long threadId)
throws ForumWebServiceException
ForumWebServicedeleteThread in interface ForumWebServicethreadId - the id of the thread to deleteForumWebServiceExceptionpublic void editThread(long threadId,
String topic,
List<eu.dnetlib.domain.functionality.Post> posts)
throws ForumWebServiceException
ForumWebServiceeditThread in interface ForumWebServicethreadId - the id of the thread to edittopic - the new topic of the threadForumWebServiceExceptionpublic long openThread(String communityId, String userId, String topic) throws ForumWebServiceException
ForumWebServiceopenThread in interface ForumWebServicecommunityId - the id of the community that the thread belongs touserId - the id of the user that opens the threadtopic - the topic of the threadForumWebServiceExceptionpublic eu.dnetlib.domain.functionality.Thread searchThread(long threadId)
throws ForumWebServiceException
ForumWebServicesearchThread in interface ForumWebServicethreadId - the id of the thread to search forForumWebServiceExceptionpublic List<eu.dnetlib.domain.functionality.Thread> searchThread(String communityId) throws ForumWebServiceException
ForumWebServicesearchThread in interface ForumWebServicecommunityId - the id of the community the threads belong toForumWebServiceExceptionCopyright © 2017. All rights reserved.