Class ContentSoftLinkRepository
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.DataAbstraction
Assembly: EPiServer.dll
Version: 9.12.2Syntax
[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>)
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 |