Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.oaext.as
Class BusinessActivity

java.lang.Object
  extended by oracle.apps.fnd.applcore.oaext.as.BusinessActivity
Direct Known Subclasses:
ApplcoreBusinessActivity, BusinessActivityAdapter

public abstract class BusinessActivity
extends java.lang.Object

This class encapsulates the details needed for publishing an Activity for model changes. Clients should extend this class to provide payload, serviceId and Actor details necessary for publishing the Activity. There should be a corresponding ActivityType matching the value from getName() in the service-definition matching the value from getServiceId() for the Activity to be published.


Field Summary
static java.lang.String CUST_ATTR_DISP_NAME
           
static java.lang.String CUST_ATTR_OBJECT_ID
           
static java.lang.String CUST_ATTR_SERVICE_REF_ID
           
static java.lang.String OBJECT_NAME_LIST_DELIMITER
           
static java.lang.String WC_ACTIVITY_ACTOR_GUID_1
           
static java.lang.String WC_ACTIVITY_ACTOR_GUID_2
           
static java.lang.String WC_ACTIVITY_SERVICE_ID
           
static java.lang.String WC_ADDITIONAL_ACTIVITY_SERVICEID1
           
static java.lang.String WC_ADDITIONAL_ACTIVITY_SERVICEID2
           
static java.lang.String WC_OBJECT_TYPE_NAMES
           
 
Constructor Summary
BusinessActivity(java.lang.String name)
           
 
Method Summary
abstract  java.lang.String[] getActors()
          Array of GUIDs for Actors of the Activity.
 java.lang.String[] getAdditionalServiceIds()
          This api will return additional service ids
 java.lang.String getName()
          Name of the ActivityType defined in service-definition that corresponds to serviceId returned by getServiceId().
 java.lang.String getObjectTypeNames()
          Bug: 10080364 : This attr should provide a "," separated list of object type names associated with a particular Activity.
abstract  java.util.Map getPayload()
          Payload for the Activity.
abstract  java.lang.String getServiceId()
          id of the service-definition containing the metadata for this Activity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUST_ATTR_SERVICE_REF_ID

public static final java.lang.String CUST_ATTR_SERVICE_REF_ID
See Also:
Constant Field Values

CUST_ATTR_OBJECT_ID

public static final java.lang.String CUST_ATTR_OBJECT_ID
See Also:
Constant Field Values

CUST_ATTR_DISP_NAME

public static final java.lang.String CUST_ATTR_DISP_NAME
See Also:
Constant Field Values

WC_ACTIVITY_SERVICE_ID

public static final java.lang.String WC_ACTIVITY_SERVICE_ID
See Also:
Constant Field Values

WC_ACTIVITY_ACTOR_GUID_1

public static final java.lang.String WC_ACTIVITY_ACTOR_GUID_1
See Also:
Constant Field Values

WC_ACTIVITY_ACTOR_GUID_2

public static final java.lang.String WC_ACTIVITY_ACTOR_GUID_2
See Also:
Constant Field Values

WC_ADDITIONAL_ACTIVITY_SERVICEID1

public static final java.lang.String WC_ADDITIONAL_ACTIVITY_SERVICEID1
See Also:
Constant Field Values

WC_ADDITIONAL_ACTIVITY_SERVICEID2

public static final java.lang.String WC_ADDITIONAL_ACTIVITY_SERVICEID2
See Also:
Constant Field Values

WC_OBJECT_TYPE_NAMES

public static final java.lang.String WC_OBJECT_TYPE_NAMES
See Also:
Constant Field Values

OBJECT_NAME_LIST_DELIMITER

public static final java.lang.String OBJECT_NAME_LIST_DELIMITER
See Also:
Constant Field Values
Constructor Detail

BusinessActivity

public BusinessActivity(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Name of the ActivityType defined in service-definition that corresponds to serviceId returned by getServiceId().

Returns:
Name of the ActivityType

getServiceId

public abstract java.lang.String getServiceId()
id of the service-definition containing the metadata for this Activity.

Returns:
serviceId

getAdditionalServiceIds

public java.lang.String[] getAdditionalServiceIds()
This api will return additional service ids

Returns:
Array of ServiceIds

getObjectTypeNames

public java.lang.String getObjectTypeNames()
Bug: 10080364 : This attr should provide a "," separated list of object type names associated with a particular Activity.

Returns:

getActors

public abstract java.lang.String[] getActors()
Array of GUIDs for Actors of the Activity.

Returns:
array of guids for the Actors.

getPayload

public abstract java.util.Map getPayload()
Payload for the Activity. Every attribute that is part of this payload is persisted in WC as custom attribute of the Activity Object so only attributes needed for the Activity Message should be added to the payload to avoid performance overhead. The payload typically contains: 1. Attribute(s) whose name matches the object-type name attribute in service-definition. This value is used in generating the object-id of the object referenced in the AS message. 2. All the attributes referenced in the Message format using {custom} token.

Returns:
a map containing the attribute names and their values needed to display the Activity Message for this Activity.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.