Class ContentCopyHandler
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Handles copy operations by creating an export package that is then imported.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Enterprise.Transfer.Internal
Assembly: EPiServer.Enterprise.dll
Version: 10.10.4Syntax
[ServiceConfiguration(ServiceType = typeof(IContentCopyHandler))]
public class ContentCopyHandler : IContentCopyHandler
Constructors
ContentCopyHandler(IContentRepository, ServiceAccessor<IDataImporter>, ServiceAccessor<IDataExporter>, ContentOptions)
Declaration
public ContentCopyHandler(IContentRepository contentRepository, ServiceAccessor<IDataImporter> dataImporterAccessor, ServiceAccessor<IDataExporter> dataExporterAccessor, ContentOptions contentOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| IContentRepository | contentRepository | |
| ServiceAccessor<IDataImporter> | dataImporterAccessor | |
| ServiceAccessor<IDataExporter> | dataExporterAccessor | |
| ContentOptions | contentOptions |
Methods
Copy(ContentReference, ContentReference, AccessLevel, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Copy pages to another container.
Declaration
public virtual ContentReference Copy(ContentReference pageLink, ContentReference destinationLink, AccessLevel requiredSourceAccess, bool publishOnDestination)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentReference | pageLink | The link to the content data to copy. |
| ContentReference | destinationLink | The container where the page will be copied |
| AccessLevel | requiredSourceAccess | The required source access to check access against |
| System.Boolean | publishOnDestination | If the new pages should be published on the destination |
Returns
| Type | Description |
|---|---|
| ContentReference |