public interface EventListenerExtension
ActivityStreamProviderExtension
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(SocialEvent<?> event,
Resource resource)
Deprecated.
Determine if the specified
SocialEvent would generating an activity
com.adobe.granite.activitystreams.Activity stream |
java.util.Map<java.lang.String,? extends java.lang.Object> |
getActivityProperties(SocialEvent<?> event,
Resource resource)
Deprecated.
Get additional properties for the specified
SocialEvent . |
java.util.Map<java.lang.String,? extends java.lang.Object> |
getActorProperties(SocialEvent<?> event,
Resource resource)
Deprecated.
Get additional actor properties for the specified
SocialEvent . |
java.lang.String |
getName()
Deprecated.
Get the name of this extension
|
java.util.Map<java.lang.String,? extends java.lang.Object> |
getObjectProperties(SocialEvent<?> event,
Resource resource)
Deprecated.
Get additional object properties for the specified
SocialEvent . |
int |
getRanking()
Deprecated.
Get the ranking index for this extension.
|
java.util.Map<java.lang.String,? extends java.lang.Object> |
getTargetProperties(SocialEvent<?> event,
Resource resource)
Deprecated.
Get the target properties for the specified
SocialEvent . |
java.lang.String getName()
boolean evaluate(SocialEvent<?> event, Resource resource)
SocialEvent
would generating an activity
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 JsonConstants
event
- SocialEventresource
- Resourcejava.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 JsonConstants
event
- SocialEventresource
- Resourcejava.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 JsonConstants
event
- SocialEventresource
- Resourcejava.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 JsonConstants
event
- SocialEventresource
- ResourceCopyright © 2010 - 2020 Adobe. All Rights Reserved