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

E22562-07

oracle.apps.fnd.applcore.socialnetwork.model.osn
Class SocialApiImpl

java.lang.Object
  extended by oracle.apps.fnd.applcore.socialnetwork.model.osn.SocialApiImpl
All Implemented Interfaces:
SocialApiRegistration

public class SocialApiImpl
extends java.lang.Object
implements SocialApiRegistration


Constructor Summary
SocialApiImpl()
           
 
Method Summary
 waggle.common.modules.social.v1.infos.socialdefinitions.XV1SocialDefinitionInfo getSocialDefinition(OsnBaseAdaptor osnAdaptor)
          Retrieve an existing type definition from OSN.
 void init()
          Initialization for the API instance.
 void registerSocialDefinition(OsnAdaptor osnAdaptor)
          Register a Social Definition to the Oracle Social Network Server.
 boolean updateSocialDefinitionTranslations(OsnTranslationAdaptor osnTransAdaptor)
          Update the translations on the Oracle Social Network Server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialApiImpl

public SocialApiImpl()
Method Detail

init

public void init()
          throws java.lang.Exception
Initialization for the API instance. The OSN server URL will be retrieved from Topology Manager (OSN module) and the login credentials will be looked up by the OSN connection manager API. This method uses the OSN ConnectionManager API to setup the connection to the OSN instance.

Specified by:
init in interface SocialApiRegistration
Throws:
java.lang.Exception

registerSocialDefinition

public void registerSocialDefinition(OsnAdaptor osnAdaptor)
                              throws java.lang.Exception
Register a Social Definition to the Oracle Social Network Server.

Specified by:
registerSocialDefinition in interface SocialApiRegistration
Parameters:
osnAdaptor - the collected information to be used to register the social object definition.
Throws:
java.lang.Exception

getSocialDefinition

public waggle.common.modules.social.v1.infos.socialdefinitions.XV1SocialDefinitionInfo getSocialDefinition(OsnBaseAdaptor osnAdaptor)
                                                                                                    throws java.lang.Exception
Retrieve an existing type definition from OSN.

Parameters:
osnAdaptor - the structure data to be used to get the values to perform the lookup with..
Returns:
the existing type definition if it exists otherwise null.
Throws:
java.lang.Exception

updateSocialDefinitionTranslations

public boolean updateSocialDefinitionTranslations(OsnTranslationAdaptor osnTransAdaptor)
                                           throws java.lang.Exception
Update the translations on the Oracle Social Network Server.

Specified by:
updateSocialDefinitionTranslations in interface SocialApiRegistration
Parameters:
osnTransAdaptor - the collected information to be used to register the social object definition translations.
Returns:
true if there was an existing definition to update.
Throws:
java.lang.Exception

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.