AquaLogic User Interaction Development Guide

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

Retrieving ALI Object Managers Using IDK Remote APIs

To access ALI 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 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 ALI 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