Class ContentSoftLinkDB
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ServiceConfiguration]
public class ContentSoftLinkDB : DataAccessBaseConstructors
ContentSoftLinkDB(IDatabaseExecutor, IPermanentLinkMapper, ILanguageBranchRepository, DatabaseDateTimeHandler)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public ContentSoftLinkDB(IDatabaseExecutor databaseHandler, IPermanentLinkMapper permanentLinkMapper, ILanguageBranchRepository languageBranchRepository, DatabaseDateTimeHandler dateTimeHandler)Parameters
| Type | Name | Description | 
|---|---|---|
| IDatabaseExecutor | databaseHandler | |
| IPermanentLinkMapper | permanentLinkMapper | |
| ILanguageBranchRepository | languageBranchRepository | |
| DatabaseDateTimeHandler | dateTimeHandler | 
Methods
DeleteLinks(ContentReference, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Delete all softlink references for ownerContent with specific language.
Declaration
public void DeleteLinks(ContentReference ownerContent, string language)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | ownerContent | The content reference | 
| System.String | language | The language | 
GetBrokenLinks(ContentReference, Int32, Int32)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets broken links from the database This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public IEnumerable<SoftLink> GetBrokenLinks(ContentReference root, int skipCount, int maxResults)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | root | The root item. | 
| System.Int32 | skipCount | The skip count. | 
| System.Int32 | maxResults | The max results. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<SoftLink> | 
GetBrokenLinksCount(ContentReference)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public int GetBrokenLinksCount(ContentReference ownerContentID)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | ownerContentID | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
GetLinks(Guid, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public IEnumerable<SoftLink> GetLinks(Guid contentGUID, bool reversed)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Guid | contentGUID | |
| System.Boolean | reversed | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<SoftLink> | 
GetLinksByPath(String, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public IEnumerable<SoftLink> GetLinksByPath(string path, bool exactMatch)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | path | |
| System.Boolean | exactMatch | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<SoftLink> | 
GetRemoteReferenceInformation(ContentReference)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the remote reference information.
Declaration
public IEnumerable<ReferenceInformation> GetRemoteReferenceInformation(ContentReference contentLink)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | contentLink | The content link. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<ReferenceInformation> | 
GetUncheckedLinks(DateTime, TimeSpan, Int32)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get Unchecked links from the database This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public IList<SoftLink> GetUncheckedLinks(DateTime lastCheckedDate, TimeSpan ignoreWorkingLinksInterval, int maxNumberOfLinks)Parameters
| Type | Name | Description | 
|---|---|---|
| System.DateTime | lastCheckedDate | Date when the links were last checked | 
| System.TimeSpan | ignoreWorkingLinksInterval | The time back in history where we don't want to recheck working links. | 
| System.Int32 | maxNumberOfLinks | Maximum number of links that should be returnd | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IList<SoftLink> | Links that has not been checked prior to the start date | 
Save(ContentReference, CultureInfo, IEnumerable<SoftLink>, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void Save(ContentReference ownerContent, CultureInfo ownerLanguage, IEnumerable<SoftLink> links, bool appendOnly)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | ownerContent | |
| System.Globalization.CultureInfo | ownerLanguage | |
| System.Collections.Generic.IEnumerable<SoftLink> | links | |
| System.Boolean | appendOnly | 
UpdateLinkStatus(IEnumerable<SoftLink>)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void UpdateLinkStatus(IEnumerable<SoftLink> links)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<SoftLink> | links | 
