public interface EventListenerExtension
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(SocialEvent<?> event,
Resource resource)
Determine if the specified
SocialEvent would generating a UserActivities
com.adobe.granite.activitystreams.Activity stream |
java.util.Map<java.lang.String,? extends java.lang.Object> |
getActivityProperties(SocialEvent<?> event,
Resource resource)
Get additional properties for the specified
SocialEvent. |
java.util.Map<java.lang.String,? extends java.lang.Object> |
getActorProperties(SocialEvent<?> event,
Resource resource)
Get additional actor properties for the specified
SocialEvent. |
java.lang.String |
getName()
Get the name of this extension
|
java.util.Map<java.lang.String,? extends java.lang.Object> |
getObjectProperties(SocialEvent<?> event,
Resource resource)
Get additional object properties for the specified
SocialEvent. |
int |
getRanking()
Get the ranking index for this extension.
|
java.util.Map<java.lang.String,? extends java.lang.Object> |
getTargetProperties(SocialEvent<?> event,
Resource resource)
Get the target properties for the specified
SocialEvent. |
java.lang.String getName()
boolean evaluate(SocialEvent<?> event, Resource resource)
SocialEvent would generating a UserActivities
com.adobe.granite.activitystreams.Activity streamevent - the Social eventresource - the resource, the activity object. This value can be null.true if the system should generate an activity stream for the specified event.int getRanking()
java.util.Map<java.lang.String,? extends java.lang.Object> getActivityProperties(SocialEvent<?> event, Resource resource)
SocialEvent. The keys of the returned map could be one of
the properties declared in #com.adobe.granite.activitystreams.JsonConstantsjava.util.Map<java.lang.String,? extends java.lang.Object> getObjectProperties(SocialEvent<?> event, Resource resource)
SocialEvent. The keys of the returned map could be
one of the properties declared in #com.adobe.granite.activitystreams.JsonConstantsjava.util.Map<java.lang.String,? extends java.lang.Object> getActorProperties(SocialEvent<?> event, Resource resource)
SocialEvent. The keys of the returned map could be
one of the properties declared in #com.adobe.granite.activitystreams.JsonConstantsjava.util.Map<java.lang.String,? extends java.lang.Object> getTargetProperties(SocialEvent<?> event, Resource resource)
SocialEvent. The keys of the returned map could be one of
the properties declared in #com.adobe.granite.activitystreams.JsonConstants"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"