Introduction: The Business Object Framework (BOF) is a set of functionality that provides ability to hook into any of the methods in the standard DFC object interfaces. BOF’s are of two kinds: Type Based Object(TBO) Service Based Object(SBO) TBO’s are used when only one object type needs its functionality overridden whereas, we use a SBO when the functionality is overridden for different object types or in case we want to use the functionality in many other TBO’s. The main use of TBO is the ability it gives a developer to override selected functionality of the DfSysObject or any of its child types. Module 1: Creating the TBO Steps to be followed for creating a TBO jar Create a java class using the same name as the object type. The java class will have to extend DfDocument and will have to override its 4 functions getVersion, getVendorString (), isCompatible (String s) and supportsFeature (String s) Then it will have to override the function that th...
UCF stand for ‘ Unified Content Facilities’ which is a lightweight applet that is responsible for transferring content between the content server, application server and the client machine during operations such as check-in, checkout, import etc. UCF is a Java-based client application that is installed at run-time. Since WDK application uses UCF content transfer it downloads a lightweight applet to the browser when the client uses the Documentum operations for the first time. UCF has many advantages that extend beyond simple FTP (file transfer protocol), such as: – Recoverability in case of brief network interruption. – It supports transfer of large files over network and optimizes the transfers by content compression capabilities. – Awareness of locally downloaded files, and the ability to avoid downloading the same content twice – Support for complex documents, such as XML files – Registry support, to allow checkout from one application and check in from another. Th...
Java reflections are one of the most powerful API’s of Java Language, this can be used to reduce code significantly. Most of the Current Enterprise application consists of different layers and they use Value objects to transfer data from one layer to another. An inefficient way of using getters and setters of the attributes of Value objects can increase code and development time of application. Effective use of reflection can reduce code and development time significantly. So let’s take a Scenario, I have an Object type MyObjectType extending from dm_document with 50 additional attributes, so dm_document as of Documentum 6.5 has 86 attributes adding additional 50 attributes that means we have 139 attributes for this object type. Consider a standard Web Application using DFS behind which needs to manipulate (add or edit) instances of this object type, The Service needs to add all these attributes to the PropertySet of the DataObject repre...
Comments
Post a Comment