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 |
Map<String,? extends Object> |
getActivityProperties(SocialEvent<?> event,
Resource resource)
Get additional properties for the specified
SocialEvent . |
Map<String,? extends Object> |
getActorProperties(SocialEvent<?> event,
Resource resource)
Get additional actor properties for the specified
SocialEvent . |
String |
getName()
Get the name of this extension
|
Map<String,? extends Object> |
getObjectProperties(SocialEvent<?> event,
Resource resource)
Get additional object properties for the specified
SocialEvent . |
int |
getRanking()
Get the ranking index for this extension.
|
Map<String,? extends Object> |
getTargetProperties(SocialEvent<?> event,
Resource resource)
Get the target properties for the specified
SocialEvent . |
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()
Map<String,? extends 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.JsonConstants
Map<String,? extends 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.JsonConstants
Map<String,? extends 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.JsonConstants
Map<String,? extends 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 © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"