Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.webcenter.activitystreaming
Class DefaultServiceActivityStreamExtension

java.lang.Object
  extended by 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)

Constructor Summary
DefaultServiceActivityStreamExtension()
           

 

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

 

Methods inherited from interface oracle.webcenter.activitystreaming.ServiceActivityStreamExtension
deleteActivity

 

Constructor Detail

DefaultServiceActivityStreamExtension

public DefaultServiceActivityStreamExtension()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.