Db::Documentum::Tools - Support functions for Db::Documentum.
use Db::Documentum::Tools qw(:all);
$session_id = dm_Connect($docbase,$user,$password); $session_id = dm_Connect($docbase,$user,$password, $user_arg_1,$user_arg_2);
$error_msg = dm_LastError(); $error_msg = dm_LastError($session_id); $error_msg = dm_LastError($session_id,1); $error_msg = dm_LastError($session_id,$level,$number);
$object_id = dm_CreateObject("dm_document",%ATTRS); $object_id = dm_CreateObject("dm_document");
$api_stat = dm_CreateType("my_document","dm_document",%field_defs); $api_stat = dm_CreateType("my_document","dm_document");
$obj_id = dm_CreatePath('/Temp/Test/Unit-1');
$hostname = dm_LocateServer($docbase);
$child = dm_Locate_Child($session,$object_id,$relation);
$object_id = dm_Copy($orig_obj_id, $to_folder); $object_id = dm_Copy($orig_obj_id, '/Temp/Test/Unit-1');
$rv = dm_Move($object_id, $to_folder); $rv = dm_Move($object_id, '/Temp/Test/Unit-2'); $rv = dm_Move($object_id, $to_folder, $from_folder); $rv = dm_Move($object_id, $to_folder, '/Temp/Test/Unit-1'); $rv = dm_Move($object_id, '/Temp/Test/Unit-2', $from_folder); $rv = dm_Move($object_id, '/Temp/Test/Unit-2', '/Temp/Test/Unit-1');
$rv = dm_Delete($obj_id, $all); $rv = dm_Delete($obj_id, 1);
See scripts in /etc for more examples.
Db::Documentum::Tools is a collection of frequently used Documentum procedures encapsulated by Perl.
The Documentum perl extension may be redistributed under the same terms as Perl. The Documentum EDMS is a commercial product. The product name, concepts, and even the mere thought of the product are the sole property of Documentum, Inc. and its shareholders.
M. Scott Roth, scott@dm-book.com
Db::Documentum.