public class EditTopicMessageHandler extends CommunoteMessageHandler<EditTopicMessage>
| Constructor and Description |
|---|
EditTopicMessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
ExternalObjectManagement |
getExternalObjectManagement() |
Class<EditTopicMessage> |
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(EditTopicMessage message)
handles message of the appropriate type.
|
void |
init()
Inits the.
|
void |
setExternalObjectManagement(ExternalObjectManagement externalObjectManagement) |
void |
setPropertyManagement(PropertyManagement propertyManagement) |
void |
validateMessage(EditTopicMessage message) |
getHandledMessageTypepublic ExternalObjectManagement getExternalObjectManagement()
public Class<EditTopicMessage> getHandledMessageClass()
CommunoteMessageHandlergetHandledMessageClass in class CommunoteMessageHandler<EditTopicMessage>public String getVersion()
CommunoteMessageHandlergetVersion in class CommunoteMessageHandler<EditTopicMessage>public CommunoteReplyMessage handleMessage(EditTopicMessage message) throws Exception
CommunoteMessageHandlerhandleMessage in class CommunoteMessageHandler<EditTopicMessage>message - the messageException - any occurred exceptionpublic void init()
public void setExternalObjectManagement(ExternalObjectManagement externalObjectManagement)
externalObjectManagement - the externalObjectManagement to setpublic void setPropertyManagement(PropertyManagement propertyManagement)
propertyManagement - the propertyManagement to setpublic void validateMessage(EditTopicMessage message) throws NoTopicSpecifiedException, NoTopicIdentifierSpecifiedException
message - message to be validatedNoTopicSpecifiedException - exceptionNoTopicIdentifierSpecifiedException - exceptionCopyright © 2019 Communote team. All rights reserved.