Documentum之基础(2)

2.4 Object Type

Documentum中的所有内容都对应于一种对象,无论是Folder还是Workflow、document。但并不是所有的对象类型都是强制继承的,存在一些独立对象。

R_object_id 对象属性一

在新的对象创建时自动生成r_object_id, 16位长的字符串,在一个Docbase中是唯一值。

最前面的2位是类型标识符(type identifiers),代表了对象的基本类型。

比如:r_object_id  090015558000c629. ‘09’代表 dm_document

 

 

2.5 Attribute Type

属性类型分为不同的类别:

1) Single/Repeating 属性值是单个还是多个;

2) 读写/只读 可读写属性可以被用户或者应用修改(a_开头的属性只能被应用修改),而只素属性由服务器控制。

3) Computed attributes 这种属性由服务器端在运行时产生,并不是固有存储属性。

2.6 DQL

Document Query Language

与SQL类似,DQL可用于增,删,改和查找对象。

select r_object_id from dm_document where object_name = 'SampleDocument.xml'

DQL有三种使用方式:

1) 在界面进行快速查询;

2) 使用DFC进行查询;

3) 调用IDQL直接进行查询。

运行路径:

C:"Documentum"product"6.0"bin"idql32.exe

2.7 API

API 通过IAPI接口使用

使用API函数可执行新建,查询,更改,删除对象的操作。

get,c,0900223280023fc2,object_name

  • get: A Server API method used to retrieve information about a particular attribute value
  • c: Signifies the current Docbase session
  • 0900223280023fc2: r_object_id of the object in question
  • object_name: Name of attribute whose value needs to be retrieved

运行路径:

C:Documentumproduct6.0iniapi32.exe

原文地址:https://www.cnblogs.com/lihh/p/12907841.html