Click or drag to resize
NewCultureVersionAttachmentsCopier Class
Provides methods to copy latest version of document attachments to the target document during creation of a new culture version.
Inheritance Hierarchy
SystemObject
  CMS.DocumentEngine.InternalDocumentAttachmentsCopierBase
    CMS.DocumentEngine.InternalNewCultureVersionAttachmentsCopier

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

The NewCultureVersionAttachmentsCopier type exposes the following members.

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