November Happy Hour will be moved to Thursday December 5th.

Class DefaultContentImporter

Inheritance
System.Object
DefaultContentImporter
Implements
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.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(typeof(IContentImporter), IncludeServiceAccessor = false)]
public class DefaultContentImporter : IContentImporter

Constructors

DefaultContentImporter(IPropertyImporter, IContentRepository, ContentLanguageSettingRepository, IPermanentLinkMapper, IContentProviderManager, IContentCacheRemover, IContentCacheListingRemover, IPageQuickSearch, IContentTypeRepository, IDynamicPropertiesLoader)

Declaration
public DefaultContentImporter(IPropertyImporter propertyImporter, IContentRepository contentRepository, ContentLanguageSettingRepository settingsRepository, IPermanentLinkMapper permanentLinkMapper, IContentProviderManager contentProviderManager, IContentCacheRemover contentCacheRemover, IContentCacheListingRemover contentCacheListingRemover, IPageQuickSearch pageQuickSearcher, IContentTypeRepository contentTypeRepository, IDynamicPropertiesLoader dynamicPropertiesLoader)
Parameters
Type Name Description
IPropertyImporter propertyImporter
IContentRepository contentRepository
ContentLanguageSettingRepository settingsRepository
IPermanentLinkMapper permanentLinkMapper
IContentProviderManager contentProviderManager
IContentCacheRemover contentCacheRemover
IContentCacheListingRemover contentCacheListingRemover
IPageQuickSearch pageQuickSearcher
IContentTypeRepository contentTypeRepository
IDynamicPropertiesLoader dynamicPropertiesLoader

Methods

Import(ImportedContentData, AccessLevel, IContentTransferContext, TransferImportOptions, out Guid)

Declaration
protected virtual IContent Import(ImportedContentData importedContentData, AccessLevel requiredDestinationAccess, IContentTransferContext context, TransferImportOptions options, out Guid importedPageGuid)
Parameters
Type Name Description
ImportedContentData importedContentData
AccessLevel requiredDestinationAccess
IContentTransferContext context
TransferImportOptions options
System.Guid importedPageGuid
Returns
Type Description
IContent

Import(ITransferContentData, AccessLevel, IContentTransferContext, TransferImportOptions)

Declaration
public virtual 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

ImportContentLanguages(ImportedContentData, ContentReference, AccessLevel, IContentTransferContext, TransferImportOptions)

Declaration
protected virtual void ImportContentLanguages(ImportedContentData importedContentData, ContentReference destinationLink, AccessLevel requiredDestinationAccess, IContentTransferContext context, TransferImportOptions options)
Parameters
Type Name Description
ImportedContentData importedContentData
ContentReference destinationLink
AccessLevel requiredDestinationAccess
IContentTransferContext context
TransferImportOptions options
Declaration
protected bool TryResolveParentLink(string importedParentLink, string importedContentGuid, IContentTransferContext context, out ContentReference parentLink)
Parameters
Type Name Description
System.String importedParentLink
System.String importedContentGuid
IContentTransferContext context
ContentReference parentLink
Returns
Type Description
System.Boolean

Implements

Extension Methods