tridion-sites-extensions-api-docs

Home > @tridion-sites/models > BatchOperation

BatchOperation class

Signature:

export declare class BatchOperation

Constructors

Constructor Modifiers Description
(constructor)(backendModel, subject)   Constructs a new instance of the BatchOperation class

Properties

Property Modifiers Type Description
createdItems   ReadonlyArray<ItemUri> | undefined <p>The list of the Ids of the created items during batch operation.</p><p>The property is used for publish/unpublish batch operations only and contains Ids of created publication transactions. For the other batch operations the property is empty.</p>
errorCode   string | undefined Error code in case of error during operation (warning, error).
id   number | undefined Id of the batch operation.
information   string | undefined Information about an operation being performed (warning, error).
state   BatchOperationState | undefined State of the current batch operation.
subject   Link | undefined  
validationErrors   ReadonlyArray<ValidationError> | undefined The list of “ValidationError” which were raised while performing an operation.
validationWarnings   ReadonlyArray<ValidationWarning> | undefined The list of “ValidationWarning” which were raised while performing an operation.