|
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 |
public interface SocialApiRuntime
The interface that an API must conform to if it is to be able to perform sending of Social Network Objects to Oracle Social Network.
Method Summary | |
---|---|
void |
addMember(java.lang.String objectId,
java.lang.String member)
Add member to the social object represented by row. |
void |
init()
Initialization for the API instance. |
void |
init(boolean checkConnection)
Initialization for the API instance. |
boolean |
isPublished(java.lang.String objectId)
Has the Object represented by objectId been published? |
void |
removeMember(java.lang.String objectId,
java.lang.String member)
Remove member from the social object represented by row. |
void |
sendObjectToOsn(SocialApiAdapter osnObject)
Send the ojbect payload to Oracle Social Network. |
Method Detail |
---|
void init() throws OsnPublishException
OsnPublishException
- if any problems.void init(boolean checkConnection) throws OsnPublishException
checkConnection
- do we check the connection as well.
OsnPublishException
- if any problems.void sendObjectToOsn(SocialApiAdapter osnObject) throws OsnPublishException
osnObject
- - they payload to send to OSN.
java.lang.Exception
OsnPublishException
void addMember(java.lang.String objectId, java.lang.String member) throws OsnPublishException
objectId
- the row to add member to.member
- the user to add.
OsnPublishException
- if there are any problems. The nested
exception (if available) will contain Osn error details.void removeMember(java.lang.String objectId, java.lang.String member) throws OsnPublishException
objectId
- the row to remove member from.member
- the user to remove.
java.lang.NullPointerException
- if row or member are null.
java.lang.IllegalArgumentException
- if row not instanceof OAViewRowImpl.
java.lang.Exception
- if there is a problem removing the member from Osn.
OsnPublishException
boolean isPublished(java.lang.String objectId) throws OsnPublishException
objectId
- the id of the row to check.
OsnPublishException
- if any problem with osn infrastructure.
|
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 |