Class DefaultContentImporter
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
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: 11.20.7Syntax
[ServiceConfiguration(typeof(IContentImporter), IncludeServiceAccessor = false)]
public class DefaultContentImporter : IContentImporter
Constructors
DefaultContentImporter(IPropertyImporter, IContentRepository, ContentLanguageSettingRepository, IPermanentLinkMapper, IContentProviderManager, IContentCacheRemover, IContentCacheListingRemover, IPageQuickSearch, IContentTypeRepository, IDynamicPropertiesLoader, IContentTypeBaseResolver)
Declaration
public DefaultContentImporter(IPropertyImporter propertyImporter, IContentRepository contentRepository, ContentLanguageSettingRepository settingsRepository, IPermanentLinkMapper permanentLinkMapper, IContentProviderManager contentProviderManager, IContentCacheRemover contentCacheRemover, IContentCacheListingRemover contentCacheListingRemover, IPageQuickSearch pageQuickSearcher, IContentTypeRepository contentTypeRepository, IDynamicPropertiesLoader dynamicPropertiesLoader, IContentTypeBaseResolver contentTypeBaseResolver)
Parameters
Type | Name | Description |
---|---|---|
IPropertyImporter | propertyImporter | |
IContentRepository | contentRepository | |
ContentLanguageSettingRepository | settingsRepository | |
IPermanentLinkMapper | permanentLinkMapper | |
IContentProviderManager | contentProviderManager | |
IContentCacheRemover | contentCacheRemover | |
IContentCacheListingRemover | contentCacheListingRemover | |
IPageQuickSearch | pageQuickSearcher | |
IContentTypeRepository | contentTypeRepository | |
IDynamicPropertiesLoader | dynamicPropertiesLoader | |
IContentTypeBaseResolver | contentTypeBaseResolver |
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 |
TryResolveParentLink(String, String, IContentTransferContext, out ContentReference)
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 |