Class ContentTransferForTest
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Transfer pages
Inheritance
System.Object
ContentTransferForTest
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.Transfer.Internal
Assembly: EPiServer.Enterprise.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IContentTransferValidator))]
public class ContentTransferForTest : IContentTransferValidator, IContentImporter
Constructors
ContentTransferForTest()
Declaration
public ContentTransferForTest()
Properties
ContentTransferContext
Declaration
public IContentTransferContext ContentTransferContext { get; set; }
Property Value
Type | Description |
---|---|
IContentTransferContext |
HasMoreData
Declaration
public bool HasMoreData { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PageLanguages
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the page languages to transfer, if no list of languages is in the list all languages is transfered.
Declaration
public IList<string> PageLanguages { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The page languages to be transfered. |
Methods
Export(IContent, AccessLevel)
Declaration
public ITransferContentData Export(IContent content, AccessLevel requiredSourceAccess)
Parameters
Type | Name | Description |
---|---|---|
IContent | content | |
AccessLevel | requiredSourceAccess |
Returns
Type | Description |
---|---|
ITransferContentData |
Export(RawContentInfo, AccessLevel)
Declaration
public ITransferContentData Export(RawContentInfo contentInfo, AccessLevel requiredSourceAccess)
Parameters
Type | Name | Description |
---|---|---|
RawContentInfo | contentInfo | |
AccessLevel | requiredSourceAccess |
Returns
Type | Description |
---|---|
ITransferContentData |
Import(ITransferContentData, AccessLevel, IContentTransferContext, TransferImportOptions)
Declaration
public ContentReference Import(ITransferContentData content, AccessLevel requiredDestinationAccess, IContentTransferContext context, TransferImportOptions options)
Parameters
Type | Name | Description |
---|---|---|
ITransferContentData | content | |
AccessLevel | requiredDestinationAccess | |
IContentTransferContext | context | |
TransferImportOptions | options |
Returns
Type | Description |
---|---|
ContentReference |
ImportProperties(IContent, RawContent)
Declaration
public void ImportProperties(IContent newContent, RawContent importedContent)
Parameters
Type | Name | Description |
---|---|---|
IContent | newContent | |
RawContent | importedContent |
ImportProperty(RawContent, RawProperty, PropertyData)
Declaration
public void ImportProperty(RawContent rawContent, RawProperty importedProp, PropertyData newProperty)
Parameters
Type | Name | Description |
---|---|---|
RawContent | rawContent | |
RawProperty | importedProp | |
PropertyData | newProperty |