C# Class Composite.Plugins.Routing.Pages.DefaultPageUrlProvider

Inheritance: IPageUrlProvider
Show file Open project: Orckestra/C1-CMS

Public Properties

Property Type Description
UrlMarker_RelativeUrl string
UrlMarker_Unpublished string

Public Methods

Method Description
BuildUrl ( PageUrlData pageUrlData, UrlKind urlKind, Composite.Core.Routing.UrlSpace urlSpace ) : string
IsInternalUrl ( string relativeUrl ) : bool
ParseInternalUrl ( string relativeUrl ) : PageUrlData
ParseUrl ( string absoluteUrl, UrlKind &urlKind ) : PageUrlData
ParseUrl ( string relativeUrl, Composite.Core.Routing.UrlSpace urlSpace, UrlKind &urlKind ) : PageUrlData

Private Methods

Method Description
AppendPathInfo ( StringBuilder sb, string pathInfo ) : StringBuilder
AppendSlash ( StringBuilder sb ) : StringBuilder
AppendUrlPart ( StringBuilder sb, string urlPart ) : StringBuilder
BuildInternalUrl ( PageUrlData pageUrlData ) : string
BuildPageUrlPath ( System.Guid pageId, System.Guid versionId, CultureInfo culture, Composite.Core.Routing.UrlSpace urlSpace, StringBuilder result ) : bool
BuildPublicUrl ( PageUrlData pageUrlData, Composite.Core.Routing.UrlSpace urlSpace ) : string
BuildRenderUrl ( PageUrlData pageUrlData ) : string
BuildRootPageUrl ( IPage rootPage, CultureInfo cultureInfo, Composite.Core.Routing.UrlSpace urlSpace, StringBuilder result ) : bool
CreateUrlBuilder ( PublicationScope publicationScope, CultureInfo localizationScope, Composite.Core.Routing.UrlSpace urlSpace ) : IPageUrlBuilder
DefaultPageUrlProvider ( ) : System
FindMatchingPage ( System.Guid parentId, string urlTitle ) : IPage
GetChildPages ( System.Guid parentId ) : IEnumerable
GetCultureInfo ( string requestPath, IHostnameBinding hostnameBinding, string &pathWithoutLanguageAndAppRoot ) : CultureInfo
GetFriendlyUrlsMap ( ) : Guid>.Hashtable
GetHostnameBindings ( ) : IReadOnlyCollection
GetLegacyPublicationScopeIdentifier ( PublicationScope publicationScope ) : string
IsKnownHostname ( string hostname ) : bool
IsPageRendererRequest ( string filePath ) : bool
LoadUrlSuffix ( ) : void
ParseFriendlyUrlPath ( string pathWithoutLanguageCode ) : System.Guid
ParseInternalUrl ( string relativeUrl, UrlKind &urlKind ) : PageUrlData
ParsePagePath ( string pagePath, PublicationScope publicationScope, CultureInfo locale, IHostnameBinding hostnameBinding ) : PageUrlData
ParseRendererUrl ( UrlBuilder urlBuilder ) : PageUrlData
RemoveUrlMarkers ( string filePath, Composite.Core.Routing.UrlSpace urlSpace ) : string
TryGetPageByUrlTitlePath ( string pagePath, bool pathInfoExtracted, IHostnameBinding hostnameBinding, string &pathInfo ) : IPage
UpdateFriendlyUrl ( IPage page ) : void

Method Details

BuildUrl() public method

public BuildUrl ( PageUrlData pageUrlData, UrlKind urlKind, Composite.Core.Routing.UrlSpace urlSpace ) : string
pageUrlData Composite.Core.Routing.PageUrlData
urlKind UrlKind
urlSpace Composite.Core.Routing.UrlSpace
return string

IsInternalUrl() public method

public IsInternalUrl ( string relativeUrl ) : bool
relativeUrl string
return bool

ParseInternalUrl() public method

public ParseInternalUrl ( string relativeUrl ) : PageUrlData
relativeUrl string
return Composite.Core.Routing.PageUrlData

ParseUrl() public method

public ParseUrl ( string absoluteUrl, UrlKind &urlKind ) : PageUrlData
absoluteUrl string
urlKind UrlKind
return Composite.Core.Routing.PageUrlData

ParseUrl() public method

public ParseUrl ( string relativeUrl, Composite.Core.Routing.UrlSpace urlSpace, UrlKind &urlKind ) : PageUrlData
relativeUrl string
urlSpace Composite.Core.Routing.UrlSpace
urlKind UrlKind
return Composite.Core.Routing.PageUrlData

Property Details

UrlMarker_RelativeUrl public static property

public static string UrlMarker_RelativeUrl
return string

UrlMarker_Unpublished public static property

public static string UrlMarker_Unpublished
return string