public interface ForumService extends DriverService
| 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, notifylong openThread(String communityId, String userId, String topic) throws ForumServiceException
communityId - the id of the community that the thread belongs touserId - the id of the user that opens the threadtopic - the topic of the threadForumServiceException - if any errors occurvoid editThread(long threadId,
String topic,
List<eu.dnetlib.domain.functionality.Post> posts)
throws ForumServiceException
threadId - the id of the thread to edittopic - the new topic of the threadposts - the new posts of the threadForumServiceException - if any errors occurvoid deleteThread(long threadId)
throws ForumServiceException
threadId - the id of the thread to deleteForumServiceException - if any errors occureu.dnetlib.domain.functionality.Thread searchThread(long threadId)
throws ForumServiceException
threadId - the id of the thread to search forForumServiceException - if any errors occurList<eu.dnetlib.domain.functionality.Thread> searchThread(String communityId) throws ForumServiceException
communityId - the id of the community the threads belong toForumServiceException - if any errors occurCopyright © 2026. All rights reserved.