public class UpdateTopicRolesMessageHandler extends CommunoteMessageHandler<UpdateTopicRolesMessage>
| Constructor and Description |
|---|
UpdateTopicRolesMessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected BlogRightsSynchronizer |
createBlogRightsSynchronizer(Long topicId,
String externalSystemId)
Create a synchronizer for external topic roles
|
Class<UpdateTopicRolesMessage> |
getHandledMessageClass()
Class of the messages to be handled by this handler.
|
String |
getVersion()
Handler version is used to distinguish between different formats of the semantically same
message type.
|
CommunoteReplyMessage |
handleMessage(UpdateTopicRolesMessage message)
handles message of the appropriate type.
|
void |
validateMessage(UpdateTopicRolesMessage message) |
getHandledMessageTypeprotected BlogRightsSynchronizer createBlogRightsSynchronizer(Long topicId, String externalSystemId)
topicId - the ID of the topicexternalSystemId - the ID of the external systempublic Class<UpdateTopicRolesMessage> getHandledMessageClass()
CommunoteMessageHandlergetHandledMessageClass in class CommunoteMessageHandler<UpdateTopicRolesMessage>public String getVersion()
CommunoteMessageHandlergetVersion in class CommunoteMessageHandler<UpdateTopicRolesMessage>public CommunoteReplyMessage handleMessage(UpdateTopicRolesMessage message) throws BlogNotFoundException, BlogAccessException
CommunoteMessageHandlerhandleMessage in class CommunoteMessageHandler<UpdateTopicRolesMessage>message - the messageBlogNotFoundExceptionBlogAccessExceptionpublic void validateMessage(UpdateTopicRolesMessage message) throws NoTopicSpecifiedException
message - to be validatedNoTopicSpecifiedException - exceptionCopyright © 2019 Communote team. All rights reserved.