deleteOptions
Defines the options you can specify for the content » delete(objects, options) method.
References
- Used by the following method parameters:
Properties
This class has the following properties.
- 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 totrue
, 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
- force
Specifies whether Content Manager can consider the
setPolicy
permissions of a user when deciding if the user can delete a selected object.If set to
true
, a selected object will be deleted if the current user has eitherwrite
orsetPolicy
permission for the following:the selected object
the parent of the selected object
every descendant of the selected object
If not set, or if set to
false
, a selected object will be deleted if the current user has write permission for the following:the selected object
the parent of the selected object
every descendant of the selected object
This property
is of type
boolean
is encoded as type
xs:boolean
- recursive
Specifies whether contained objects are deleted.
If set to false, the operation will fail if any object that is specified by the content » delete(objects, options) » objects parameter has a child object.
This property
is of type
boolean
is encoded as type
xs:boolean