Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class DataExporter

Inheritance
System.Object
DataExporter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Enterprise
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Obsolete("Use IDataExporter (or IDataExportEvents for events)", true)]
public class DataExporter : ExportImportBase, ITransferContext, IContentTransferContext, ITransferHandlerContext, IDataExporter, IDisposable

Constructors

DataExporter()

Declaration
public DataExporter()

Properties

Culture

Declaration
public CultureInfo Culture { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

ExportableItems

Declaration
public IDictionary<string, IList> ExportableItems { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Collections.IList>

NumberOfExportedCategories

Declaration
public int NumberOfExportedCategories { get; set; }
Property Value
Type Description
System.Int32

NumberOfExportedContentTypes

Declaration
public int NumberOfExportedContentTypes { get; set; }
Property Value
Type Description
System.Int32

NumberOfExportedDynamicProperties

Declaration
public int NumberOfExportedDynamicProperties { get; set; }
Property Value
Type Description
System.Int32

NumberOfExportedFrames

Declaration
public int NumberOfExportedFrames { get; set; }
Property Value
Type Description
System.Int32

NumberOfExportedTabs

Declaration
public int NumberOfExportedTabs { get; set; }
Property Value
Type Description
System.Int32

NumberOfExportedVisitorGroup

Declaration
public int NumberOfExportedVisitorGroup { get; set; }
Property Value
Type Description
System.Int32

RequiredSourceAccess

Declaration
public AccessLevel RequiredSourceAccess { get; set; }
Property Value
Type Description
AccessLevel

Status

Declaration
public IExportStatus Status { get; }
Property Value
Type Description
IExportStatus

Methods

Close()

Declaration
public void Close()

Dispose()

Declaration
public void Dispose()

Export()

Declaration
public void Export()

Export(Stream, IEnumerable<ExportSource>, ExportOptions)

Declaration
public ITransferLog Export(Stream stream, IEnumerable<ExportSource> sourceRoots, ExportOptions options)
Parameters
Type Name Description
System.IO.Stream stream
System.Collections.Generic.IEnumerable<ExportSource> sourceRoots
ExportOptions options
Returns
Type Description
ITransferLog

ExportContent(XmlTextWriter, ContentReference, IContentTransferContext, ITransferContentData)

Declaration
protected virtual void ExportContent(XmlTextWriter xml, ContentReference contentToExport, IContentTransferContext context, ITransferContentData transferContent)
Parameters
Type Name Description
System.Xml.XmlTextWriter xml
ContentReference contentToExport
IContentTransferContext context
ITransferContentData transferContent

GetRawContentInfo(ContentReference)

Declaration
protected RawContentInfo GetRawContentInfo(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
RawContentInfo

GetRawPageInfo(PageReference)

Declaration
protected object GetRawPageInfo(PageReference pageLink)
Parameters
Type Name Description
PageReference pageLink
Returns
Type Description
System.Object

NotifyDynamicPropertiesExporting(IList<PropertyDefinition>)

Declaration
protected virtual void NotifyDynamicPropertiesExporting(IList<PropertyDefinition> propertyDefinitions)
Parameters
Type Name Description
System.Collections.Generic.IList<PropertyDefinition> propertyDefinitions

NotifyExportHandlers(ITransferContentData)

Declaration
protected virtual void NotifyExportHandlers(ITransferContentData transferContent)
Parameters
Type Name Description
ITransferContentData transferContent

NotifyExportHandlers(IEnumerable<ContentType>)

Declaration
protected virtual void NotifyExportHandlers(IEnumerable<ContentType> conentTypes)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentType> conentTypes

OnExportProperty(TransformPropertyEventArgs)

Declaration
public override void OnExportProperty(TransformPropertyEventArgs e)
Parameters
Type Name Description
TransformPropertyEventArgs e
Overrides

Events

ContentExported

Declaration
public static event ContentExportedEventHandler ContentExported
Event Type
Type Description
ContentExportedEventHandler

ContentExporting

Declaration
public static event ContentExportingEventHandler ContentExporting
Event Type
Type Description
ContentExportingEventHandler

Exporting

Declaration
public static event EventHandler Exporting
Event Type
Type Description
System.EventHandler

ExportPropertyEvent

Declaration
public static event EventHandler<TransformPropertyEventArgs> ExportPropertyEvent
Event Type
Type Description
System.EventHandler<TransformPropertyEventArgs>

FileExported

Declaration
public static event FileExportedEventHandler FileExported
Event Type
Type Description
FileExportedEventHandler

FileExporting

Declaration
public static event FileExportingEventHandler FileExporting
Event Type
Type Description
FileExportingEventHandler

ParsingUrl

Declaration
public static event ParseUrlEventHandler ParsingUrl
Event Type
Type Description
ParseUrlEventHandler

Implements

System.IDisposable

Extension Methods