public class SetTopicRolesMessageHandler extends CommunoteMessageHandler<SetTopicRolesMessage>
| Constructor and Description |
|---|
SetTopicRolesMessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected BlogRightsSynchronizer |
createBlogRightsSynchronizer(Long topicId,
String externalSystemId) |
Class<SetTopicRolesMessage> |
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(SetTopicRolesMessage message)
handles message of the appropriate type.
|
void |
validateMessage(SetTopicRolesMessage message) |
getHandledMessageTypeprotected BlogRightsSynchronizer createBlogRightsSynchronizer(Long topicId, String externalSystemId)
topicId - ID of the topicexternalSystemId - external system idpublic Class<SetTopicRolesMessage> getHandledMessageClass()
getHandledMessageClass in class CommunoteMessageHandler<SetTopicRolesMessage>public String getVersion()
CommunoteMessageHandlergetVersion in class CommunoteMessageHandler<SetTopicRolesMessage>public CommunoteReplyMessage handleMessage(SetTopicRolesMessage message) throws BlogNotFoundException, BlogAccessException
CommunoteMessageHandlerhandleMessage in class CommunoteMessageHandler<SetTopicRolesMessage>message - the messageBlogNotFoundExceptionBlogAccessExceptionpublic void validateMessage(SetTopicRolesMessage message) throws NoTopicSpecifiedException
message - to be validatedNoTopicSpecifiedException - exceptionCopyright © 2019 Communote team. All rights reserved.