addOptions

Defines the options you can specify for the content » add(parentPath, objects, options) method.

References

Used by the following method parameters:

Properties

This class has the following properties.

dataEncoding

Specifies the encoding used for the added data.

This property

faultIfObjectReferenced

Specifies how references to objects being deleted or replaced are processed by Content Manager.

If this property is set to false, any reference to the objects being deleted are automatically deleted. If this property is set to true, Content Manager generates a fault if any object in the content store continues to reference any of the deleted objects.

During recursive delete, a fault is not generated if one deleted object refers to another object that is also deleted.

This property

  • is of type boolean

    is encoded as type xs:boolean

  • has a default value of false

ignoreInvalidObjectReference

Specifies how invalid object references in ID-based reference properties are processed by Content Manager. A reference is invalid if it refers to a non-existent object.

If this property is set to false, Content Manager generates a fault if an object contains an invalid object reference in an ID-based reference property.

If this property is set to true, any invalid object reference in an ID-based reference property is automatically ignored by Content Manager when updating the content store.

This property

  • is of type boolean

    is encoded as type xs:boolean

  • has a default value of false

returnProperties

Specifies the list of properties returned for each added object.

If no properties are specified, the values for the defaultName, searchPath, and storeID properties are returned.

If properties are specified, only the values for the specified properties are returned. For example, if you specify creationTime, only the value for this property is returned. If you also want the value for the searchPath property, you must specify it as well.

This property

  • is an array of type bibus » propEnum

    is encoded as type tns:propEnumArray

updateAction

Specifies what happens when an object already exists at the new object's location in the content store.

This property