|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.oaext.osn.OsnObjectAdapter oracle.apps.fnd.applcore.oaext.osn.social.SocialObjectAdapter
public class SocialObjectAdapter
The OSN API specific implementation of the OsnObjectAdapter. This class will interrogate the View Object/Row passed in and create the structures required to send to OSN.
Field Summary | |
---|---|
protected static java.lang.String |
ATTRIBUTE_PROPERTY_SEPARATOR
|
Fields inherited from class oracle.apps.fnd.applcore.oaext.osn.OsnObjectAdapter |
---|
_isValid, _osnAction, OSN_ACTION_DELETE, OSN_ACTION_INSERT, OSN_ACTION_MANUAL_INSERT, OSN_ACTION_MANUAL_UPDATE, OSN_ACTION_UNKNOWN, OSN_ACTION_UPDATE, OSN_AUTOMATIC_SEND, OSN_MANUAL_SEND |
Constructor Summary | |
---|---|
SocialObjectAdapter(byte osnAction)
Create an OSN object adapter. |
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. |
int |
getFieldCount()
Provides the number of fields that can be sent to OSN. |
java.lang.String |
getLoggedInUser()
Get the currently logged in user. |
java.lang.String |
getName()
A name that can identify this OSN object. |
java.lang.String |
getObjectExternalId()
The unique identifier that Oracle Social Network will know 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. |
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? |
boolean |
isOsnManualUpload()
Has the customer chosen Manual OSN upload integration? |
void |
loadOsnData(oracle.jbo.ViewObject osnVo,
oracle.jbo.server.ViewRowImpl osnRow,
java.lang.String[] osnAttributes)
Harvest the VO and Row to get the payload that will be sent to Oracle Social Network. |
void |
parseViewObject(oracle.jbo.ViewObject osnVo,
oracle.jbo.server.ViewRowImpl osnRow,
java.lang.String[] osnAttributes)
Create an OSN object adapter which will harvest the VO and Row to get the payload that will be sent to Oracle Social Network. |
Methods inherited from class oracle.apps.fnd.applcore.oaext.osn.OsnObjectAdapter |
---|
convertEntityStateToAction, getOsnAction, getOsnActionAsString, isValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.applcore.oaext.osn.social.SocialApiAdapter |
---|
getOsnAction |
Field Detail |
---|
protected static final java.lang.String ATTRIBUTE_PROPERTY_SEPARATOR
Constructor Detail |
---|
public SocialObjectAdapter(byte osnAction)
osnAction
- insert/update/delete action.Method Detail |
---|
public java.lang.String getName()
getName
in class OsnObjectAdapter
public java.lang.String getAppId()
getAppId
in interface SocialApiAdapter
public java.lang.String getType()
getType
in interface SocialApiAdapter
public java.lang.String getRegistrationExternalId()
getRegistrationExternalId
in interface SocialApiAdapter
public java.lang.String getObjectExternalId()
getObjectExternalId
in interface SocialApiAdapter
getObjectExternalId
in class OsnObjectAdapter
public java.lang.String getObjectId()
getObjectId
in interface SocialApiAdapter
public java.lang.String getObjectName()
getObjectName
in interface SocialApiAdapter
public java.util.Map<java.lang.String,java.lang.Object> getAllFieldsValues()
getAllFieldsValues
in interface SocialApiAdapter
public java.util.Map<java.lang.String,java.lang.Object> getUpdatedFieldsValues()
getUpdatedFieldsValues
in interface SocialApiAdapter
public int getFieldCount()
getFieldCount
in class OsnObjectAdapter
public void parseViewObject(oracle.jbo.ViewObject osnVo, oracle.jbo.server.ViewRowImpl osnRow, java.lang.String[] osnAttributes)
osnVo
- the View Object containing the row to send to OSN.osnRow
- the row to send to OSN.osnAttributes
- the names of the fields to send to OSN.public void loadOsnData(oracle.jbo.ViewObject osnVo, oracle.jbo.server.ViewRowImpl osnRow, java.lang.String[] osnAttributes)
osnVo
- the View Object containing the row to send to OSN.osnRow
- the row to send to OSN.osnAttributes
- the names of the fields to send to OSN.public boolean isOsnManualUpload()
isOsnManualUpload
in interface SocialApiAdapter
public boolean isOsnAutomaticUpload()
isOsnAutomaticUpload
in interface SocialApiAdapter
public java.lang.String getLoggedInUser()
getLoggedInUser
in interface SocialApiAdapter
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |