Interface IPageTransfer

The base interface for transferring pages.

Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[Obsolete("Use IContentTransfer")]
public interface IPageTransfer

Properties

HasMoreData

Gets a value indicating whether this instance has more data.

Declaration
bool HasMoreData { get; }
Property Value
Type Description
System.Boolean

true if this instance has more data; otherwise, false.

ImportedBlockTypes

Gets or sets the imported block types.

Declaration
IEnumerable<BlockType> ImportedBlockTypes { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<BlockType>

The imported block types.

TransferContext

Gets the transfer context.

Declaration
IPageTransferContext TransferContext { get; }
Property Value
Type Description
IPageTransferContext

The transfer context.

Methods

Export(PageData, AccessLevel)

Exports the specified page.

Declaration
ITransferPageData Export(PageData page, AccessLevel requiredSourceAccess)
Parameters
Type Name Description
PageData page

The page.

AccessLevel requiredSourceAccess

The required source access.

Returns
Type Description
ITransferPageData

An ITransferPageData to represent a page to be transferred.

Import(ITransferPageData, AccessLevel)

Imports the specified page.

Declaration
PageReference Import(ITransferPageData page, AccessLevel requiredDestinationAccess)
Parameters
Type Name Description
ITransferPageData page

The page.

AccessLevel requiredDestinationAccess

The required destination access.

Returns
Type Description
PageReference

A page referense for the copied page.

ImportProperty(RawProperty, PropertyData)

Imports a specific property.

Declaration
void ImportProperty(RawProperty importedProp, PropertyData newProperty)
Parameters
Type Name Description
RawProperty importedProp

The imported prop.

PropertyData newProperty

The new property.

Extension Methods