Table of Contents

Class CopyAreaInfo

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll

The CopyAreaInfo class holds information needed to perform a copy operation for a given Area

public class CopyAreaInfo
Inheritance
CopyAreaInfo
Inherited Members

Constructors

CopyAreaInfo(int, CopyMode, bool, bool, bool, bool, bool, Action<string>)

Initializes a new instance of the CopyAreaInfo class with the provided arguments

public CopyAreaInfo(int areaId, CopyMode mode, bool copyPermissions, bool updateContentLinks, bool updateShortcuts, bool updateGlobalParagraphs, bool isLanguage, Action<string> callBack)

Parameters

areaId int

The id of the area to copy

mode CopyMode

Indicates what should be copied from the specified page

copyPermissions bool

Indicates if permissions should be copied

updateContentLinks bool

Indicates if content links should be updated as part of the copy operation

updateShortcuts bool

Indicates if shortcuts should be updated as part of the copy operation

updateGlobalParagraphs bool

Indicates if global paragraphs should be updated as part of the copy operation

isLanguage bool
callBack Action<string>

A call back to provide feed back to the calling client about the progress of the actual copy operation

Properties

AreaID

Gets the AreaID of the area to copy

public int AreaID { get; }

Property Value

int

CopyMode

Gets the CopyMode indicating what should be copied

public CopyMode CopyMode { get; }

Property Value

CopyMode

CopyName

Gets or sets the area copy name

public string CopyName { get; set; }

Property Value

string

CopyPermissions

Gets a value indicating if permissions should be copied

public bool CopyPermissions { get; }

Property Value

bool

Culture

Contains the culture for the copy of the area.

public string Culture { get; set; }

Property Value

string

IsLanguage

Gets a value indicating if the area to copy is a language version of another master Area

public bool IsLanguage { get; }

Property Value

bool

StatusCallback

Gets the call back used for providing feedback to the calling client about the progress of the actual copy operation

public Action<string> StatusCallback { get; set; }

Property Value

Action<string>

Gets a value indicating if content links should be updated as part of the copy operation

public bool UpdateContentLinks { get; }

Property Value

bool

UpdateGlobalParagraphs

Gets a value indicating if global paragraphs should be updated as part of the copy operation

public bool UpdateGlobalParagraphs { get; }

Property Value

bool

UpdateShortcuts

Gets a value indicating if shortcuts should be updated as part of the copy operation

public bool UpdateShortcuts { get; }

Property Value

bool
To top