Mumbai, India

Custom Java Method for Job

To develop a Java method for job is simple and straight forward, Below you’ll find a sample which implements IDmMethod. package com.ecmnotes.documentum.method; import; import; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.StringTokenizer; import com.documentum.fc.client.DfClient; import com.documentum.fc.client.IDfClient; import com.documentum.fc.client.IDfPersistentObject; import com.documentum.fc.client.IDfSession; import com.documentum.fc.client.IDfSessionManager; import com.documentum.fc.client.IDfSysObject; import com.documentum.fc.common.DfException; import com.documentum.fc.common.DfId; import com.documentum.fc.common.DfLoginInfo; import com.documentum.fc.common.IDfId; import com.documentum.fc.common.IDfLoginInfo; public class customJavaMethod implements IDmMethod { // Declaration of variables protected IDfSessionManager sessionMgr = null;…


SBO Implementation

A service-based business object doesn’t map to a particular object type in the Docbase. Instead, it provides general purpose functions for your application to use. Service-based objects can be used across docbases, even accessing multiple docbases at once. These service-based objects are intended to be called from your own custom GUIs or as convenience functions from within your type-based objects. Service-based objects were designed and optimized for multi-user, mutli-threaded, multi-docbase web applications. Create SBO in Documentum…


TBO Implementation

Type-based business objects (TBOs) are the most common types of business objects. They correspond to custom object types in the Docbase and used to apply custom business logic to those object types. You can create a TBO by extending a DFC object such as DFDocument. Type-based objects allow developers to override the typical DFC Method to add validation logic or change the way that the original methods behave. You can also add your own custom…


Business Object Framework(BOF)

About BOF: BOF’s main goals are to centralize and standardize the process of customizing. Set of functionality introduced in Documentum 5.3 that allows developers to extend the Documentum Foundation Classes (DFC). Always executes when it is supposed to, regardless of the client program. Inherits, and can extend, the implementation of core Documentum functionality. Benefits Of BOF: Reduced development time Abstraction of Business Logic from Presentation Encourages Reuse Portable across Applications Types Of Business Objects: Type…


DFC Operations

DFC Operations: Are used to manipulate these objects Set of Tasks bundled into one “EXECUTE” Get the document Add to the operation Execute the operation Operation acts upon nodes Operations are Inbound Outbound Examples : IDfImportOperation, IDfCheckoutOperation. Types Of Operations: DFC Operations Package: The Operations package offer some unique advantages like Same functionality with less coding Less chance of introducing logic errors in an operation If the logic of an operation ever changes, the DFC…


Introduction To Session

What is a session? The key to enter the repository Created as soon as the user is authenticated Maintains Connection with the repository Gives access to objects in the repository for the authenticated user. Create Object Query Objects Manipulate Objects Accessed through Session Handles How to get a session? Sessions can be obtained by IDfSession Interface IDfSessionManager Interface (recommended) Session obtained by IDfSession are Unmanaged sessions Session obtained by IDfSessionManager are Managed sessions Session manager…


Processing Docbase Object:

Obtain an IDfClient object by calling the static getLocalClient method of DfClient. Obtain a session manager by calling the newSessionManager method of the IDfClient object. Use the sessionmanager to obtain a session with the Docbase, that is, a reference to an object that implements the IDfSession interface. If you do not have a reference to the Docbase object, call an IDfSession method (for example, newObject or getObjectByQualification) to create an object or to obtain a…


Entry Points For DFC

DFC APIs comprises a number of packages, i.e. classes and interfaces Name of DFC Java class begins with  Df (example DfClient) Name of DFC interface begins with  IDf (example IDfClient) (Interface exposes DFC’s public methods) DFC encapsulates its client functionality in the   IDfClient interface, which serves as the entry point for DFC code. IDfClient handles basic details of connecting to Documentum servers. The IDfClient interface serves as a factory for IDfSessionManager objects, from which you…


Using DFC

Access Documentum functionality from one of your company’s enterprise applications. Customize or extend Documentum products like Desktop Client or WDK. Write a method or procedure for Content Server to execute as part of a workflow or document lifecycle.

Next Page »