Click or drag to resize
DocumentURLProvider Class
URL provider for the documents.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractBaseProviderDocumentURLProvider
    CMS.BaseAbstractURLProviderDocumentURLProvider
      CMS.DocumentEngineDocumentURLProvider

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public class DocumentURLProvider : AbstractURLProvider<DocumentURLProvider>

The DocumentURLProvider type exposes the following members.

Constructors
  NameDescription
Public methodDocumentURLProvider
Top
Methods
  NameDescription
Public methodStatic memberBuildWildcardQueryString
Returns query string for wildcard url. Wildcard is in format /{name
Public methodStatic memberEnsureDomainPrefix
Ensures domain prefix with dependence on specified site setting
Protected methodEnsureDomainPrefixInternal
Ensures domain prefix with dependence on specified site setting
Public methodStatic memberEnsureWildcardPath
Ensures URL path with wildcards. The wildcard with default value are replace to the default value.
Public methodStatic memberGetPermanentDocUrl
Returns permanent document URL.
Protected methodGetPermanentDocUrlInternal
Returns permanent document URL.
Public methodStatic memberGetUrl
Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
Protected methodGetUrlForPathInternal
Returns URL for the specified path.
Protected methodGetUrlInternal
Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
Public methodStatic memberUsePermanentUrls
Indicates if permanent URLs should be generated for documents and attachments
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberDEFAUL_PAGE_DEFAULT
Use default page URL
Public fieldStatic memberDEFAUL_PAGE_DOMAIN
Use domain for default page
Public fieldStatic memberDEFAUL_PAGE_NONE
Do not process default page
Public fieldStatic memberDEFAUL_PAGE_PAGE
Use default alias path page
Public fieldStatic memberDOMAIN_PREFIX_NONE
Do not process domain prefix
Public fieldStatic memberDOMAIN_PREFIX_WITHOUTWWW
Never use www prefix for domains
Public fieldStatic memberDOMAIN_PREFIX_WWW
Always use www prefix for domains
Public fieldStatic memberNO_EXTENSION
No extension constant
Top
Properties
  NameDescription
Public propertyStatic memberDefaultPageURL
Default (root) page URL.
Public propertyStatic memberUseCurrentWildcardValueAsDefaultValue
Gets or sets the value that indicates whether current wildcard query string value should be used as default value.
Public propertyStatic memberWildcardDefaultValueDelimiter
Gets the delimiter for default widcard value.
Public propertyStatic memberWildcardRegex
Gets the regular expression for wildcard rule.
Top
See Also