copyObject() Method
In CatalogService, use the copyObject() method to copy an object in the catalog.
Signature
boolean copyObject(String srcOjectAbsolutePath, String destFolderAbsolutePath, String newName, String userID, String password);
Parameters for copyObject() Method
Parameter | Description |
---|---|
String srcOjectAbsolutePath |
The path to the catalog object to copy. |
String destFolderAbsolutePath |
The path to the folder in the catalog to which to copy the object. |
String newName |
The name to assign the new object. |
String userID |
Specifies the user name. |
String password |
Specifies the password for the user name. |