public class EntityTopicAccessRightsChangedEvent extends TopicAccessRightsChangedEvent
Constructor and Description |
---|
EntityTopicAccessRightsChangedEvent(long topicId,
String topicTitle,
long grantingUserId,
long grantedEntityId,
boolean isGroup,
BlogRole oldRole,
BlogRole newRole)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getGrantedEntityId() |
boolean |
isGroup() |
getGrantingUserId, getNewRole, getOldRole, getTopicId, getTopicTitle
public EntityTopicAccessRightsChangedEvent(long topicId, String topicTitle, long grantingUserId, long grantedEntityId, boolean isGroup, 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.grantedEntityId
- Id of the entity whom the right was granted to.isGroup
- Set to true if grantedEntityId is a group, else false.oldRole
- The previous role. Might be null if none.newRole
- Role which was set, a value of "null" means, that all rights where removed.Copyright © 2019 Communote team. All rights reserved.