C# Class SenseNet.Portal.Virtualization.PurgeUrlCollector

Show file Open project: maxpavlov/FlexNet

Public Methods

Method Description
CollectAllUrls ( IEnumerable pathList, IEnumerable siteUrls ) : IEnumerable

Collects all purge urls for one or more content paths. The result list will include all the site urls extended with the full Root relative content paths and (if the content is under a site) the site relative urls of the paths.

GetUrls ( Node context ) : List
GetUrls ( string path ) : List

Protected Methods

Method Description
CollectUrlsByContentPath ( IEnumerable pathList ) : IEnumerable
CollectUrlsByContentPath ( IEnumerable pathList, IEnumerable siteUrls ) : IEnumerable

Method Details

CollectAllUrls() public static method

Collects all purge urls for one or more content paths. The result list will include all the site urls extended with the full Root relative content paths and (if the content is under a site) the site relative urls of the paths.
public static CollectAllUrls ( IEnumerable pathList, IEnumerable siteUrls ) : IEnumerable
pathList IEnumerable List of content paths ('/Root/MyFolder/MyContent')
siteUrls IEnumerable List of site urls ('www.example.com')
return IEnumerable

CollectUrlsByContentPath() protected method

protected CollectUrlsByContentPath ( IEnumerable pathList ) : IEnumerable
pathList IEnumerable
return IEnumerable

CollectUrlsByContentPath() protected method

protected CollectUrlsByContentPath ( IEnumerable pathList, IEnumerable siteUrls ) : IEnumerable
pathList IEnumerable
siteUrls IEnumerable
return IEnumerable

GetUrls() public method

public GetUrls ( Node context ) : List
context Node
return List

GetUrls() public method

public GetUrls ( string path ) : List
path string
return List