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()
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
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
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
Returns
Type |
Description |
System.Boolean |
|
GenerateFakeChangeLog()
Declaration
protected List<IChangeLogItem> GenerateFakeChangeLog()
Returns
GetChanges()
Declaration
public IList<IChangeLogItem> GetChanges()
Returns
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
Returns
Type |
Description |
System.Boolean |
|
ReadChangeLog()
Declaration
protected List<IChangeLogItem> ReadChangeLog()
Returns
ShouldContentBeAdded(ContentReference)
Declaration
protected bool ShouldContentBeAdded(ContentReference contentLink)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods