Methods

Methods are executable programs that are represented by method objects in the repository. The program can be a Docbasic script, a Java method, or a program written in another programming language such as C++. The associated method object has properties that identify the executable and define command line arguments, and the execution parameters.

Methods are executed by issuing a DO_METHOD administration method from the command line or using a job. Using a DO_METHOD allows you to execute the method on demand. Using a job allows you to schedule the method for regular, automatic execution. For information about creating jobs, refer to Jobs.

The executable invoked by the method can be stored in the file system or as content of the method object. If the method is executed by the Java method server, the entire custom or xml app jar must be stored in the $DOCUMENTUM_SHARED\<jboss>\server\DctmServer_MethodServer\deploy\ServerApps.ear\DmMethods.war\WEB-INF\lib directory. For workflow methods, the .jar files must be placed under the Process Engine deployment in the $DOCUMENTUM_SHARED/<jboss>/server/DctmServer_MethodServer/deploy/bpm.ear/bpm.war/WEB-INF/lib directory.

By default, all repositories contain methods used by Content Server. All methods with object names that begin with dm_ are default methods.