public class ModerationEvent extends SocialEvent<ModerationOperationExtension.ModerationOperation>
SocialEvent.BaseEventObject, SocialEvent.EventObject, SocialEvent.SocialActions
Modifier and Type | Field and Description |
---|---|
static String |
TOPIC |
static String |
TOPIC_SUFFIX
Strings for the topic of this event.
|
OBJECT, SOCIAL_EVENT_TOPIC_PREFIX, TARGET
Constructor and Description |
---|
ModerationEvent(String path,
String userId,
ModerationOperationExtension.ModerationOperation action,
Map<String,Object> additionalData)
Constructors
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
static ModerationEvent |
fromEvent(org.osgi.service.event.Event event)
Retrieves the ModerationEvent from the given generic
Event . |
getAction, getObject, getPath, getTarget, getUserId
public static final String TOPIC_SUFFIX
public static final String TOPIC
public static ModerationEvent fromEvent(org.osgi.service.event.Event event)
Event
.event
- The event.null
if the given event is not a ModerationEvent.public boolean equals(Object that)
equals
in class org.osgi.service.event.Event
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"