public class ModerationEvent extends SocialEvent<ModerationOperationExtension.ModerationOperation>
SocialEvent.BaseEventObject, SocialEvent.EventObject, SocialEvent.SocialActions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOPIC |
static java.lang.String |
TOPIC_SUFFIX
Strings for the topic of this event.
|
OBJECT, SOCIAL_EVENT_TOPIC_PREFIX, TARGET
Constructor and Description |
---|
ModerationEvent(java.lang.String path,
java.lang.String userId,
ModerationOperationExtension.ModerationOperation action,
java.util.Map<java.lang.String,java.lang.Object> additionalData)
Constructors
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
static ModerationEvent |
fromEvent(Event event)
Retrieves the ModerationEvent from the given generic
Event . |
public static final java.lang.String TOPIC_SUFFIX
public static final java.lang.String TOPIC
public ModerationEvent(java.lang.String path, java.lang.String userId, ModerationOperationExtension.ModerationOperation action, java.util.Map<java.lang.String,java.lang.Object> additionalData)
path
- StringuserId
- useraction
- ModerationOperationadditionalData
- Mappublic static ModerationEvent fromEvent(Event event)
Event
.event
- The event.null
if the given event is not a ModerationEvent.public boolean equals(java.lang.Object that)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"