November Happy Hour will be moved to Thursday December 5th.

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: 10.10.4
Syntax
public class MirroringChangeLogFilter

Constructors

MirroringChangeLogFilter(IChangeLog, Int32, MirroringData)

Declaration
[Obsolete("Use alternative constructor 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
[Obsolete("Use alternative constructor instead")]
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(IActivityQueryService, IContentRepository, IContentSoftLinkRepository, IPermanentLinkMapper, SiteDefinition, SystemDefinition, Int32, MirroringData)

Declaration
public MirroringChangeLogFilter(IActivityQueryService activityQueryService, IContentRepository contentRepository, IContentSoftLinkRepository softLinkRepository, IPermanentLinkMapper permanentLinkMapper, SiteDefinition siteDefinition, SystemDefinition systemDefinition, int maxRecordsPerRead, MirroringData mirroringData)
Parameters
Type Name Description
IActivityQueryService activityQueryService
IContentRepository contentRepository
IContentSoftLinkRepository 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

GenerateActivities()

Declaration
protected IList<Activity> GenerateActivities()
Returns
Type Description
System.Collections.Generic.IList<Activity>

GenerateFakeChangeLog()

Declaration
[Obsolete("Use GetActivities method instead")]
protected List<IChangeLogItem> GenerateFakeChangeLog()
Returns
Type Description
System.Collections.Generic.List<IChangeLogItem>

GetActivities()

Declaration
public IList<Activity> GetActivities()
Returns
Type Description
System.Collections.Generic.IList<Activity>

GetChanges()

Declaration
[Obsolete("Use GetActivities method instead")]
public IList<IChangeLogItem> GetChanges()
Returns
Type Description
System.Collections.Generic.IList<IChangeLogItem>

GetFileChanges(Int64)

Gets relevant file changes for current mirroring channel

Declaration
[Obsolete("Virtual Path Providers as content are no longer supported")]
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
[Obsolete("Virtual Path Providers as content are no longer supported")]
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

ReadActivities()

Declaration
protected IList<Activity> ReadActivities()
Returns
Type Description
System.Collections.Generic.IList<Activity>

ReadChangeLog()

Declaration
[Obsolete("Use ReadActivities method instead")]
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