Oracle WebCenter Interaction Web Service Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Retrieving Object Managers Using Oracle WebCenter Interaction Development Kit (IDK) Remote APIs

To access portal objects from a remote application, first retrieve an IObjectManager object from the IRemoteSession object.

To retrieve an IObjectManager object from the IRemoteSession object, follow the steps below.
  1. Create a session with the portal. For details, see Initiating a PRC Session to Use Oracle WebCenter Interaction Development Kit (IDK) Remote APIs.
  2. Retrieve an instance of IObjectManager from the IRemoteSession object, as shown in the sample code below. This example demonstrates how to retrieve an Object Manager to query communities, using an existing IRemoteSession instance. For a list of object types, see Oracle WebCenter Interaction Object Type Class IDs and Modes.

Java:

IObjectManager objectManager = session.getObjectManager(ObjectClass.Community);

.NET (C#):

IObjectManager objectManager = session.GetObjectManager(ObjectClass.Community);

.NET (VB):

Dim objectManager as IObjectManager
objectManager= session.GetObjectManager(ObjectClass.Community)

  Back to Top      Previous Next