public abstract class TopicAccessRightsChangedEvent extends Object implements Event
Constructor and Description |
---|
TopicAccessRightsChangedEvent(long topicId,
String topicTitle,
long grantingUserId,
BlogRole oldRole,
BlogRole newRole)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getGrantingUserId() |
BlogRole |
getNewRole() |
BlogRole |
getOldRole() |
long |
getTopicId() |
String |
getTopicTitle() |
public TopicAccessRightsChangedEvent(long topicId, String topicTitle, long grantingUserId, BlogRole oldRole, BlogRole newRole)
topicId
- ID of the topic, where the rights were changed.topicTitle
- Title of the topic, where the rights were changed.grantingUserId
- ID of the user who changed the rights.oldRole
- The previous role. Might be null if none.newRole
- Role which was set, a value of "null" means, that all rights where removed.public long getGrantingUserId()
public BlogRole getNewRole()
public BlogRole getOldRole()
public long getTopicId()
public String getTopicTitle()
Copyright © 2019 Communote team. All rights reserved.