Class ContentSoftLinkRepository
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration]
[Obsolete("Use abstractions IContentSoftLinkRepository to load and save soft links, use IContentSoftLinkStatusService to check status of a link")]
public class ContentSoftLinkRepository : DefaultContentSoftLinkRepository, IContentSoftLinkRepository, IContentSoftLinkStatusService
Constructors
ContentSoftLinkRepository()
Initializes a new instance of the ContentSoftLinkRepository class.
Declaration
public ContentSoftLinkRepository()
ContentSoftLinkRepository(IPermanentLinkMapper, ServiceAccessor<ContentSoftLinkDB>)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the ContentSoftLinkRepository class.
Declaration
public ContentSoftLinkRepository(IPermanentLinkMapper permanentLinkMapper, ServiceAccessor<ContentSoftLinkDB> softLinkDataAccess)
Parameters
Type | Name | Description |
---|---|---|
IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper that should be used by this instance and any loaded links. |
ServiceAccessor<ContentSoftLinkDB> | softLinkDataAccess | An accessor method that retrieves the soft link data access instance that should be used by this instance. |
Methods
Append(ContentReference, CultureInfo, IList<SoftLink>)
Appends all the specified SoftLink instances with the same owner page link.
Declaration
[Obsolete("Use overloads to Save instead")]
public virtual void Append(ContentReference ownerContent, CultureInfo ownerLanguage, IList<SoftLink> links)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | ownerContent | The owner content link. |
System.Globalization.CultureInfo | ownerLanguage | The language, specify null to re-save links for all languages |
System.Collections.Generic.IList<SoftLink> | links | The collection of SoftLink instances. |
DeleteLinks(ContentReference, String)
Delete all softlink references for ownerContent
with specific language
.
Declaration
[Obsolete("Renamed to Delete")]
public virtual void DeleteLinks(ContentReference ownerContent, string language)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | ownerContent | The content reference |
System.String | language | The language |