DocumentURLProvider Class |
Namespace: CMS.DocumentEngine
public class DocumentURLProvider : AbstractURLProvider<DocumentURLProvider>
The DocumentURLProvider type exposes the following members.
Name | Description | |
---|---|---|
DocumentURLProvider |
Name | Description | |
---|---|---|
DEFAUL_PAGE_DEFAULT |
Use default page URL
| |
DEFAUL_PAGE_DOMAIN |
Use domain for default page
| |
DEFAUL_PAGE_NONE |
Do not process default page
| |
DEFAUL_PAGE_PAGE |
Use default alias path page
| |
DOMAIN_PREFIX_NONE |
Do not process domain prefix
| |
DOMAIN_PREFIX_WITHOUTWWW |
Never use www prefix for domains
| |
DOMAIN_PREFIX_WWW |
Always use www prefix for domains
| |
NO_EXTENSION |
No extension constant
|
Name | Description | |
---|---|---|
DefaultPageURL |
Default (root) page URL.
| |
UseCurrentWildcardValueAsDefaultValue |
Gets or sets the value that indicates whether current wildcard query string value should be used as default value.
| |
WildcardDefaultValueDelimiter |
Gets the delimiter for default wildcard value.
| |
WildcardRegex |
Gets the regular expression for wildcard rule.
|
Name | Description | |
---|---|---|
BuildWildcardQueryString |
Returns query string for wildcard url. Wildcard is in format /{name
| |
EnsureDomainPrefix |
Ensures domain prefix with dependence on specified site setting
| |
EnsureDomainPrefixInternal |
Ensures domain prefix with dependence on specified site setting
| |
EnsureWildcardPath |
Ensures URL path with wildcards. The wildcard with default value are replace to the default value.
| |
GetDocumentCultureUrls |
Creates culture version of URLs for given node based on provided parameters.
| |
GetExtension |
Returns extension for given document. Takes document custom extensions and also 'Files friendly URL extension' and 'Friendly URL extensions' settings into account.
| |
GetNavigationUrl |
Returns resolved (absolute) URL of a page represented by data container. Method reflects page navigation settings.
| |
GetPermanentDocUrl |
Returns permanent document URL.
| |
GetPermanentDocUrlInternal |
Returns permanent document URL.
| |
GetPresentationUrl |
Returns presentation URL for the specified node. This is the absolute URL where live presentation of given node can be found.
| |
GetPresentationUrlHandlerPath |
Returns a relative URL path to PresentationUrlRedirect handler with parameters based on which the live page URL can be generated when needed.
| |
GetPresentationUrlInternal |
Returns presentation URL for the specified node. This is the absolute URL where live presentation of given node can be found.
| |
GetUrl(TreeNode) |
Returns relative URL for the specified tree node.
| |
GetUrl(String, String, String, String, String) |
Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
| |
GetUrlInternal(TreeNode) |
Returns relative URL for the specified tree node.
| |
GetUrlInternal(String, String, String, String, String) |
Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
| |
SetAsDefaultProvider |
Sets this object as the default provider
(Inherited from AbstractBaseProviderProviderType.) | |
UsePermanentUrls |
Indicates if permanent URLs should be generated for documents and attachments
|