public abstract class DefaultServiceActivityStreamExtension extends java.lang.Object implements ServiceActivityStreamExtension
ServiceActivityStreamExtension.
A service intending to implement a ServiceActivityStreamExtension
can choose to extend from this abstract class and override only the methods
for which it needs to do any special processing.
| Constructor and Description |
|---|
DefaultServiceActivityStreamExtension() |
| Modifier and Type | Method and Description |
|---|---|
ActivityElement |
createActivityElement(java.lang.String applicationID,
oracle.webcenter.framework.service.Scope scope,
java.lang.String serviceID,
oracle.webcenter.framework.service.ActivityType activityType,
java.util.List<? extends ActivityActor> actors,
java.util.List<? extends ActivityObject> objects,
ActivityPermission permission,
java.util.Date activityTime)
This implementation uses the Activity Streaming Service API to create
and return an activity element using the supplied information.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteActivitypublic DefaultServiceActivityStreamExtension()
public ActivityElement createActivityElement(java.lang.String applicationID, oracle.webcenter.framework.service.Scope scope, java.lang.String serviceID, oracle.webcenter.framework.service.ActivityType activityType, java.util.List<? extends ActivityActor> actors, java.util.List<? extends ActivityObject> objects, ActivityPermission permission, java.util.Date activityTime) throws ActivityException
createActivityElement in interface ServiceActivityStreamExtensionapplicationID - application ID of the activityscope - the Scope of the activityserviceID - the service ID of the activityactivityType - type of the activityactors - list of actors involved in the activity (there must be
at least one actor in the activity)objects - list of objects involved in the activity (optional)permission - the permission of the activityactivityTime - time when the activity happensActivityException - if any error is encountered while processing
the supplied information or creating the activity