Package com.documentum.com


package com.documentum.com
Provides an interface for accessing the DFC through OLE/COM. For Visual Basic programmers, this package provides the entrance into DFC via the IDfClientX factory interface. The IDfClientX interface provides a collection of methods that return specific instantiated DFC objects. The following code is the implementation of the IDfClientX.getList() method:


   public IDfList getList()
   {
      IDfList retval = new DfList();
      return retval;
   }

...Visual Basic programmers would obtain a list object interface as indicated below:


Visual Basic:
   Dim clientx As New IDfClientX
   Dim listObj As IDfList
   Set listObj = clientx.getList

To access Visual Basic and C++ DFC sample code, please visit the Documentum Developer Program.

...Java programmers would obtain a new empty list object interface using a IDfClientX factory method:


Java:
   IDfClientX clientx = new IDfClientX();
   IDfList list = clientx.getList();

...Java programmers could also create the list using the new operator, but using the factory methods is preferred:


Java:
   IDfList list = new DfList();

  • Class
    Description
     
    An interface that provides factory methods and methods to facilitate DFC access through COM.