Interface IContentTransfer
The base interface for transferring contents.
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public interface IContentTransfer
Properties
ContentTransferContext
Gets the transfer context.
Declaration
IContentTransferContext ContentTransferContext { get; set; }
Property Value
| Type | Description |
|---|---|
| IContentTransferContext | The transfer context. |
Methods
Export(RawContentInfo, AccessLevel)
Exports the specified content.
Declaration
ITransferContentData Export(RawContentInfo page, AccessLevel requiredSourceAccess)
Parameters
| Type | Name | Description |
|---|---|---|
| RawContentInfo | page | The content. |
| AccessLevel | requiredSourceAccess | The required source access. |
Returns
| Type | Description |
|---|---|
| ITransferContentData | An ITransferContentData to represent a content to be transferred. |
Import(ITransferContentData, AccessLevel)
Imports the specified content.
Declaration
ContentReference Import(ITransferContentData content, AccessLevel requiredDestinationAccess)
Parameters
| Type | Name | Description |
|---|---|---|
| ITransferContentData | content | The content. |
| AccessLevel | requiredDestinationAccess | The required destination access. |
Returns
| Type | Description |
|---|---|
| ContentReference | A content referense for the copied content. |
ImportProperty(RawContent, RawProperty, PropertyData)
Imports a specific property.
Declaration
void ImportProperty(RawContent rawContent, RawProperty importedProp, PropertyData newProperty)
Parameters
| Type | Name | Description |
|---|---|---|
| RawContent | rawContent | Content of the raw. |
| RawProperty | importedProp | The imported prop. |
| PropertyData | newProperty | The new property. |