Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.oaext.osn.social
Interface SocialApiAdapter

All Known Implementing Classes:
SocialObjectAdapter

public interface SocialApiAdapter

Interface that any object requiring to be sent to the Social Network API's must conform to allow for all data to be sent to OSN.

Since:
11.1.1.7.0
Version:
$Header: atgpf/applcore/applications/Common/Model/src/oracle/apps/fnd/applcore/oaext/osn/social/SocialApiAdapter.java /st_atgpf_pt-11.1.1.7.0/1 2012/11/15 16:48:21 dagroves Exp $

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getAllFieldsValues()
          Get all of the field name and values that are to be in the payload.
 java.lang.String getAppId()
          Get the application id for the OSN structure registration of an object.
 java.lang.String getLoggedInUser()
          Get the currently logged in user.
 java.lang.String getObjectExternalId()
          The combined unique identifier that Oracle Social Network knows the object as.
 java.lang.String getObjectId()
          The unique identifier that Oracle Social Network will know the object as.
 java.lang.String getObjectName()
          The translated display name for the object.
 byte getOsnAction()
          Gets the action to be performed by the OSN integration.
 java.lang.String getRegistrationExternalId()
          The unique identifier that Oracle Social Network will know the object registration as.
 java.lang.String getType()
          Get the constant value of the type for the OSN structure registration of an object.
 java.util.Map<java.lang.String,java.lang.Object> getUpdatedFieldsValues()
          Get any updated of the field name and values that are to be in the payload.
 boolean isOsnAutomaticUpload()
          Has the customer chosen Automatic OSN upload integration for this object?
 boolean isOsnManualUpload()
          Has the customer chosen Manual OSN upload integration for this object?
 

Method Detail

getOsnAction

byte getOsnAction()
Gets the action to be performed by the OSN integration.

Returns:
the OSN action.

getAppId

java.lang.String getAppId()
Get the application id for the OSN structure registration of an object.

Returns:
the application id.

getType

java.lang.String getType()
Get the constant value of the type for the OSN structure registration of an object.

Returns:
the constant type definition.

getRegistrationExternalId

java.lang.String getRegistrationExternalId()
The unique identifier that Oracle Social Network will know the object registration as.

Returns:
the registration external id.

getObjectExternalId

java.lang.String getObjectExternalId()
The combined unique identifier that Oracle Social Network knows the object as.

Returns:

getObjectId

java.lang.String getObjectId()
The unique identifier that Oracle Social Network will know the object as.

Returns:

getObjectName

java.lang.String getObjectName()
The translated display name for the object.

Returns:

getAllFieldsValues

java.util.Map<java.lang.String,java.lang.Object> getAllFieldsValues()
Get all of the field name and values that are to be in the payload.

Returns:
the fields.

getUpdatedFieldsValues

java.util.Map<java.lang.String,java.lang.Object> getUpdatedFieldsValues()
Get any updated of the field name and values that are to be in the payload. This will be a strict subset of the values returned by getAllFieldsValues().

Returns:
the fields.

isOsnManualUpload

boolean isOsnManualUpload()
Has the customer chosen Manual OSN upload integration for this object?

Returns:
true if manual, false otherwise.

isOsnAutomaticUpload

boolean isOsnAutomaticUpload()
Has the customer chosen Automatic OSN upload integration for this object?

Returns:
true if automatic, false otherwise.

getLoggedInUser

java.lang.String getLoggedInUser()
Get the currently logged in user. This value should be loaded optimistically not when called, as the sending of objects to osn may happen in a separate thread (it is undefined), where standard JPS apis will malfunction.

Returns:
loged in used via adf apis.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.