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) |
getHandledMessageType
public ExternalObjectManagement getExternalObjectManagement()
public Class<EditTopicMessage> getHandledMessageClass()
CommunoteMessageHandler
getHandledMessageClass
in class CommunoteMessageHandler<EditTopicMessage>
public String getVersion()
CommunoteMessageHandler
getVersion
in class CommunoteMessageHandler<EditTopicMessage>
public CommunoteReplyMessage handleMessage(EditTopicMessage message) throws Exception
CommunoteMessageHandler
handleMessage
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.