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…

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: 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…

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…

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…

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…

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.

All DFC Configurations is performed in dfc.properties. DFC checks the configuration changes based on the value of dfc.config.check_interval property. The default is 30 seconds Configuration can also be done programmatically using DfPrefrences. These changes are not persistent Not all information can be updated programmatically dfc.properties: An Example dfc.data.dir=C:/Documentum dfc.globalregistry.password=pIr+SciyEGuEv72thH1mEQ== dfc.globalregistry.repository=testrepo dfc.globalregistry.username=dm_bof_registry dfc.docbroker.host[0]=testserver dfc.docbroker.port[0]=1489 dfc.security.keystore.file=C:/Documentum/config/dfc.keystore dfc.session.secure_connect_default=try_native_first dfc.tokenstorage.dir=C:/Documentum/apptoken dfc.tokenstorage.enable=false

There are two modes of installation of DFC: Standalone – Installed as a part of client application. Configured information in dfc.properties. DFC.jar placed in WEB-INF/lib dfc.properties and log4j.properties files placed in WEB-INF/classes Applications can be configured with different dfc installation. Embedded – Deployed with web application Added to WAR or EAR file. DFC is sandboxed. No installer required. Installation Requirements: Java 1.5 or above. Documentum repository 5.3 or above….