public class TopicHierarchyEvent extends Object implements Event
Modifier and Type | Class and Description |
---|---|
static class |
TopicHierarchyEvent.Type
Possible types this event was fired for.
|
Constructor and Description |
---|
TopicHierarchyEvent(Long parentTopicId,
String parentTopicTitle,
Long childTopicId,
String childTopicTitle,
Long userId,
TopicHierarchyEvent.Type type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Long |
getChildTopicId() |
String |
getChildTopicTitle() |
Long |
getParentTopicId() |
String |
getParentTopicTitle() |
TopicHierarchyEvent.Type |
getType() |
Long |
getUserId() |
public TopicHierarchyEvent(Long parentTopicId, String parentTopicTitle, Long childTopicId, String childTopicTitle, Long userId, TopicHierarchyEvent.Type type)
parentTopicId
- Id of the parent topic.parentTopicTitle
- title of the parent topicchildTopicId
- Id of the child topic.childTopicTitle
- title of the child topicuserId
- Id of the invoking user.type
- Type of the event.public Long getChildTopicId()
public String getChildTopicTitle()
public Long getParentTopicId()
public String getParentTopicTitle()
public TopicHierarchyEvent.Type getType()
public Long getUserId()
Copyright © 2019 Communote team. All rights reserved.