Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Db::DFC
Perl's Object-oriented interface to Documentum's DFC

Db::DFC - Perl's Object-oriented interface to Documentum's DFC


NAME

Db::DFC - Perl's Object-oriented interface to Documentum's DFC


SYNOPSIS


    use Db::DFC;

    $dfc = Db::DFC->new();

    $DOCBASE = "docbase";

    $USER = "user";

    $PASSWORD = "passwd";

    $DOMAIN = "domain";

    $FILE = $0;

    $dfclient = DfClient->new();

    $idfclient = $dfclient->getLocalClient();

    $idflogininfo = DfLoginInfo->new();

    $idflogininfo->setUser($USER);

    $idflogininfo->setPassword($PASSWORD);

    $idflogininfo->setDomain($DOMAIN);

    $idfsession = $idfclient->newSession($DOCBASE,$idflogininfo);

    $pobj = $idfsession->newObject("dm_document");

    $doc = $dfc->castToIDfDocument($pobj);

    $doc->setObjectName("this file");

    $doc->setContentType("crtext");

    $doc->setFile($FILE);

    $doc->save();

    print "\nDocument Id:" . $doc->getObjectId()->toString() . " created.\n";

    $idfsession->disconnect;


DESCRIPTION


    Db::DFC provides an object-oriented interface to Documentum's DFC.

    ...


AUTHOR


    m. Scott Roth, michael.s.roth@saic.com


SEE ALSO

perl(1).

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy