Click or drag to resize
DocumentAttachmentsCopierBase Class
Base class for copying document attachments.
Inheritance Hierarchy

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public abstract class DocumentAttachmentsCopierBase

The DocumentAttachmentsCopierBase type exposes the following members.

Constructors
  NameDescription
Protected methodDocumentAttachmentsCopierBase
Creates instance of DocumentAttachmentsCopierBase.
Top
Properties
  NameDescription
Protected propertyAttachmentGUIDs
Collection of original attachment GUID as key and copied attachment GUID as value.
Protected propertyCopyVariants
Indicates if variants should be copied.
Protected propertySourceDocument
Source document.
Protected propertyTargetDocument
Target document.
Top
Methods
  NameDescription
Public methodCopy
Copies attachments.
Protected methodCopyAttachmentsExceptVariants
Copies attachments except variants.
Public methodCopyFieldAttachments
Copies field attachments.
Protected methodEnsureBinaryData
Ensures binary data within the given attachment.
Protected methodGetAttachmentFields
Gets list of attachment fields.
Protected methodGetAttachmentsExceptVariants
Gets the attachments except variants for the source document.
Protected methodGetFieldWhere
Gets where condition for field attachments.
Protected methodGetVariants
Gets attachments variants based on the given list of parent IDs.
Protected methodSaveAttachment
Saves a copied attachment.
Protected methodSaveVariant
Saves a copied attachment variant.
Protected methodSaveVariantHistoryInternal
Saves the attachment variant as AttachmentHistoryInfo attachment version.
Protected methodSaveVariantInternal
Saves the attachment variant as AttachmentInfo published attachment.
Protected methodUpdateDocumentFieldValues
Updates document fields with GUID of copied attachment.
Top
See Also