(private) sorry...!! contact@ecmnotes.com
slide

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…

slide

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…

slide

DFC Fundamentals

Documentum Foundation Classes (DFC) is an object oriented application programming interface (API) and framework for accessing, customizing, and extending Documentum functionality. Documentum has implemented DFC as a set of Java interfaces and implementation classes. DFC also provides the Documentum Java-COM bridge (DJCB) to make the interfaces available in Microsoft’s Component…

slide

Location For DFC

  DFC Runs On : A Java virtual machine (JVM) The machine that runs Content Server.  For example, to be called from a Docbasic method as part of a workflow or document lifecycle. A middle-tier system.  For example, on an application server to support WDK or to execute server methods….

slide

DFC Installation

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…

slide

Object Types

List all attributes of a specific type, indicating which are repeating-valued (1=repeating): SELECT attr_name, attr_repeating FROM dm_type  WHERE name = 'type' Identify the supertype of a specific type: SELECT super_name FROM dm_type WHERE name = 'type' List all subtypes of a specific type: SELECT name FROM dm_type WHERE super_name = 'type' List…

slide

Object Manipulation

Create a new object, setting attribute values, folder location, and associating a content file: CREATE type OBJECT SET title = '', SET authors[0] = '', INSERT authors[0] = '',APPEND authors = '', LINK '/a/b' SETFILE 'C:testpathabc.doc' WITH CONTENT_FORMAT 'test_format' Modify a specific existing object, changing attribute values and folder location:…

slide

Content Server

How many concurrent connections are allowed by the Content Server: SELECT concurrent_sessions FROM dm_server_config What is the default location for server log files: SELECT log_location FROM dm_server_config List the machine names where connection brokers reside: SELECT projection_targets FROM dm_server_config What is the oldest client version from which the repository will…

slide

Registered tables

Create Table in database: EXECUTE EXEC_SQL WITH QUERY='CREATE TABLE abc(a VARCHAR2(20),b INTEGER,c FLOAT)' Register specific columns from an external table and create indexes on some of the columns: REGISTER TABLE “abc” (“a” CHAR(20), “b” INT, “c” FLOAT,) WITH KEY “a”, “b” Return information from a registered table: SELECT “a”, “b”…

slide

Other Syntax

AVG: Return only the average value from all that qualify: SELECT AVG(“b” + “c”) FROM “abc” WHERE “a” = '10' COUNT: Return a count of  a specific type objects in the repository owned by a particular user: SELECT COUNT(*) FROM type WHERE owner_name = 'tyler' COUNT(DISTINCT): Return a count of…