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.analytics
Interface AnalyticsEventPropertyResolver


public interface AnalyticsEventPropertyResolver

Provides an extendable way to map properties of an Activity Streaming activity to properties of an analytics event of corresponding type.

Since:
release specific (what release of product did this appear in)

Method Summary
 java.lang.Object getProperty(ActivityElement activity, java.lang.String eventType, java.lang.String factName, java.lang.String factDimensionProperty)
          Expected to return the value to be used for the specified event parameter / event dimension property in an event that is to be generated for the specified activity instance.

 

Method Detail

getProperty

java.lang.Object getProperty(ActivityElement activity,
                             java.lang.String eventType,
                             java.lang.String factName,
                             java.lang.String factDimensionProperty)
                             throws ActivityException
Expected to return the value to be used for the specified event parameter / event dimension property in an event that is to be generated for the specified activity instance.

For instance, for an event of type "WC:DISCUSSION_FORUMCREATE", parameter "DICUSSION_FORUM", and dimension property "RESOURCE_ID", this method is expected to look up the first object argument of the passed activity, and return its object id.

Parameters:
activity - Activity Streaming activity for which to return the event property value
eventType - Name of the analytics event type
factName - Name of an event parameter or event dimension parameter for the specified event type
factDimensionProperty - Name of a property of the dimension of the specified dimension parameter if factName is for a dimension parameter, or null if factName is not for a dimension parameter but for a simple parameter
Throws:
ActivityException - If an error occurs that prevents the resolver from being able to successfully resolve the requested property

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.