Class MirroringChangeLogFilter

Inheritance
System.Object
MirroringChangeLogFilter
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.MirroringService.ChangeLog
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
public class MirroringChangeLogFilter

Constructors

MirroringChangeLogFilter(IChangeLog, Int32, MirroringData)

Declaration
[Obsolete("Use constructor that takes IActivityQueryService instead")]
public MirroringChangeLogFilter(IChangeLog changeLog, int maxRecordsPerRead, MirroringData mirroringData)
Parameters
Type Name Description
IChangeLog changeLog
System.Int32 maxRecordsPerRead
MirroringData mirroringData

MirroringChangeLogFilter(IActivityQueryService, IContentRepository, ContentSoftLinkRepository, IPermanentLinkMapper, SiteDefinition, SystemDefinition, Int32, MirroringData)

Declaration
public MirroringChangeLogFilter(IActivityQueryService activityQueryService, IContentRepository contentRepository, ContentSoftLinkRepository softLinkRepository, IPermanentLinkMapper permanentLinkMapper, SiteDefinition siteDefinition, SystemDefinition systemDefinition, int maxRecordsPerRead, MirroringData mirroringData)
Parameters
Type Name Description
IActivityQueryService activityQueryService
IContentRepository contentRepository
ContentSoftLinkRepository softLinkRepository
IPermanentLinkMapper permanentLinkMapper
SiteDefinition siteDefinition
SystemDefinition systemDefinition
System.Int32 maxRecordsPerRead
MirroringData mirroringData

MirroringChangeLogFilter(Int32, MirroringData)

Declaration
public MirroringChangeLogFilter(int maxRecordsPerRead, MirroringData mirroringData)
Parameters
Type Name Description
System.Int32 maxRecordsPerRead
MirroringData mirroringData

Methods

ContentExists(ContentReference)

Declaration
protected bool ContentExists(ContentReference contentRef)
Parameters
Type Name Description
ContentReference contentRef
Returns
Type Description
System.Boolean

GenerateFakeChangeLog()

Declaration
protected List<IChangeLogItem> GenerateFakeChangeLog()
Returns
Type Description
System.Collections.Generic.List<IChangeLogItem>

GetChanges()

Declaration
public IList<IChangeLogItem> GetChanges()
Returns
Type Description
System.Collections.Generic.IList<IChangeLogItem>

GetFileChanges(Int64)

Gets relevant file changes for current mirroring channel

Declaration
protected IEnumerable<IChangeLogItem> GetFileChanges(long lastSequenceNumberRead)
Parameters
Type Name Description
System.Int64 lastSequenceNumberRead

The last sequence number read.

Returns
Type Description
System.Collections.Generic.IEnumerable<IChangeLogItem>

file changes

IsFileLinkedFromPageInChannel(String)

Determines whether specified file is linked to from any page within current channel

Declaration
protected bool IsFileLinkedFromPageInChannel(string virtualPath)
Parameters
Type Name Description
System.String virtualPath

The virtual path for the file

Returns
Type Description
System.Boolean

true if file is linked to; otherwise, false.

IsPagePublished(ContentReference)

Declaration
protected bool IsPagePublished(ContentReference contentRef)
Parameters
Type Name Description
ContentReference contentRef
Returns
Type Description
System.Boolean

ReadChangeLog()

Declaration
protected List<IChangeLogItem> ReadChangeLog()
Returns
Type Description
System.Collections.Generic.List<IChangeLogItem>

ShouldContentBeAdded(ContentReference)

Declaration
protected bool ShouldContentBeAdded(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink
Returns
Type Description
System.Boolean

Extension Methods