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

E22562-03

oracle.apps.fnd.applcore.oaext.as.internal
Class BusinessActivityAdapter

java.lang.Object
  extended by oracle.apps.fnd.applcore.oaext.as.BusinessActivity
      extended by oracle.apps.fnd.applcore.oaext.as.internal.BusinessActivityAdapter

public final class BusinessActivityAdapter
extends BusinessActivity


Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.oaext.as.BusinessActivity
CUST_ATTR_DISP_NAME, CUST_ATTR_OBJECT_ID, CUST_ATTR_SERVICE_REF_ID, OBJECT_NAME_LIST_DELIMITER, WC_ACTIVITY_ACTOR_GUID_1, WC_ACTIVITY_ACTOR_GUID_2, WC_ACTIVITY_SERVICE_ID, WC_ADDITIONAL_ACTIVITY_SERVICEID1, WC_ADDITIONAL_ACTIVITY_SERVICEID2, WC_OBJECT_TYPE_NAMES
 
Constructor Summary
BusinessActivityAdapter(java.lang.String name, OAEntityImpl entity, java.lang.String serviceId, java.lang.String[] actorGuids, java.lang.String[] additionalServiceIds, java.lang.String objectTypeNames, java.util.ArrayList<oracle.jbo.server.EventAttrVals> payload)
           
 
Method Summary
 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 getObjectTypeNames()
          Bug: 10080364 : This attr should provide a "," separated list of object type names associated with a particular Activity.
 java.util.Map getPayload()
          Payload for the Activity.
 java.lang.String getServiceId()
          id of the service-definition containing the metadata for this Activity.
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.as.BusinessActivity
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessActivityAdapter

public BusinessActivityAdapter(java.lang.String name,
                               OAEntityImpl entity,
                               java.lang.String serviceId,
                               java.lang.String[] actorGuids,
                               java.lang.String[] additionalServiceIds,
                               java.lang.String objectTypeNames,
                               java.util.ArrayList<oracle.jbo.server.EventAttrVals> payload)
Method Detail

getServiceId

public java.lang.String getServiceId()
Description copied from class: BusinessActivity
id of the service-definition containing the metadata for this Activity.

Specified by:
getServiceId in class BusinessActivity
Returns:
serviceId

getObjectTypeNames

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

Overrides:
getObjectTypeNames in class BusinessActivity
Returns:

getAdditionalServiceIds

public java.lang.String[] getAdditionalServiceIds()
Description copied from class: BusinessActivity
This api will return additional service ids

Overrides:
getAdditionalServiceIds in class BusinessActivity
Returns:
Array of ServiceIds

getActors

public java.lang.String[] getActors()
Description copied from class: BusinessActivity
Array of GUIDs for Actors of the Activity.

Specified by:
getActors in class BusinessActivity
Returns:
array of guids for the Actors.

getPayload

public java.util.Map getPayload()
Description copied from class: BusinessActivity
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.

Specified by:
getPayload in class BusinessActivity
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-03

Copyright © 2012 Oracle. All Rights Reserved.