Skip navigation links
oracle.webcenter.activitystreaming
Class DefaultServiceActivityStreamExtension
java.lang.Object
oracle.webcenter.activitystreaming.DefaultServiceActivityStreamExtension
- All Implemented Interfaces:
- ServiceActivityStreamExtension
-
public abstract class DefaultServiceActivityStreamExtension
- extends java.lang.Object
- implements ServiceActivityStreamExtension
Base implementation of 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.
- Since:
- release specific (what release of product did this appear in)
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServiceActivityStreamExtension
public DefaultServiceActivityStreamExtension()
createActivityElement
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
- This implementation uses the Activity Streaming Service API to create and return an activity element using the supplied information.
-
- Specified by:
createActivityElement
in interface ServiceActivityStreamExtension
-
- Parameters:
applicationID
- application ID of the activity
scope
- the Scope of the activity
serviceID
- the service ID of the activity
activityType
- type of the activity
actors
- 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 activity
activityTime
- time when the activity happens
- Returns:
- a new ActivityElement
- Throws:
ActivityException
- if any error is encountered while processing the supplied information or creating the activity
Skip navigation links
Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.