createObject() Method
In CatalogService, use the createObject() method to create a Publisher object in the catalog.
Tip:
If you have extensively used the createObject() or createObjectInSession() methods to dynamically create catalog objects, after the catalog objects are no longer required, clean up the catalog using deleteObject() or deleteObjectInSession() methods. Otherwise, the accumulation of the dynamically created catalog objects might cause severe catalog performance degradation issues.Signature
String createObject(String folderAbsolutePathURL, String objectName, String objectType, String objectDescription, byte[] objectData, String userID, String password);
Parameters for createObject() Method
Parameter | Description |
---|---|
String folderAbsolutePathURL |
The absolute path to the folder in the catalog in which to place the new object. |
String objectName |
The name of the new object. |
String objectType |
The type of catalog object. Valid values are:
|
String objectDescription |
Specifies the description of the new object. |
byte[] objectData |
Publisher object in bytes. |
String userID |
Specifies a user name. |
String password |
Specifies the password for the user name. |