public class BlogCreatedEvent extends Object implements Event
Constructor and Description |
---|
BlogCreatedEvent(Long blogId,
String topicTitle,
Long userId,
Long parentTopicId)
Create a new event
|
Modifier and Type | Method and Description |
---|---|
Long |
getBlogId() |
Long |
getParentTopicId() |
String |
getTopicTitle() |
Long |
getUserId() |
public BlogCreatedEvent(Long blogId, String topicTitle, Long userId, Long parentTopicId)
blogId
- the ID of the created topictopicTitle
- the title of the created topicuserId
- Id of the user, who created the topic.parentTopicId
- Id of a parent topic, might be null.public Long getBlogId()
public Long getParentTopicId()
public String getTopicTitle()
public Long getUserId()
Copyright © 2019 Communote team. All rights reserved.