TreePathUtils Class |
Namespace: CMS.DocumentEngine
public static class TreePathUtils
The TreePathUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AllowPermanentPreviewLink |
Returns true if document workflow cycle GUID shouldn't be changed when moving from publish/archive step to edit step.
|
![]() ![]() | AutomaticallyUpdateDocumentAlias |
Returns true if the document alias should be automatically updated upon document name change.
|
![]() ![]() | EnsureChildPath |
Ensures path to be for all child pages.
|
![]() ![]() | EnsureMaxFileNameLength |
Ensures maximal length of the file name. Reflects the class node name source field size.
|
![]() ![]() | EnsureMaxNodeAliasLength |
Ensures maximal allowed node alias length.
|
![]() ![]() | EnsureMaxNodeNameLength |
Ensures maximal length of the node document name. Reflects the class node name source field size.
|
![]() ![]() | EnsureSingleNodePath |
Ensures node alias path to be only for single document.
|
![]() ![]() | EnsureSinglePath |
Ensures path to be only for a single page.
|
![]() ![]() | ForbiddenCharactersReplacement |
Returns string containing all forbidden characters that cannot be used in node alias and in the file system.
|
![]() ![]() | ForbiddenURLCharacters |
Returns string containing all forbidden characters that cannot be used in node alias and in the file system.
|
![]() ![]() | GetAlias |
Returns the alias from the given alias path.
|
![]() ![]() | GetAliasPathByNodeId |
Returns the AliasPath equivalent for the given node ID.
|
![]() ![]() | GetClassNameByAliasPath |
Returns the node class name corresponding to the given aliasPath.
|
![]() ![]() | GetClassNameByDocumentID |
Returns the node class name corresponding to the given document ID.
|
![]() ![]() | GetDocumentIdByDocumentGUID |
Returns the Document ID equivalent for the given document GUID.
|
![]() ![]() | GetDocumentSite |
Returns the site info of the specified document.
|
![]() ![]() | GetDocumentUrl |
Returns document URL.
|
![]() ![]() | GetFilesUrlExtension |
Returns files URL extension used for friendly URLs for specified site.
|
![]() ![]() | GetFirstChildUrl |
Gets first child document URL
|
![]() ![]() | GetChildNodes |
Gets child nodes of node specified by identifier.
|
![]() ![]() | GetMaxNameLength |
Gets maximal length of the node document name. Reflects the class node name source field size.
|
![]() ![]() | GetMenuCaption |
Returns the menu caption.
|
![]() ![]() | GetNodeByAliasPath |
Gets the base node record (CMS_Tree) by the alias path and site name.
|
![]() ![]() | GetNodeGUIDByNodeId(Int32) |
Returns the Node GUID equivalent for the given node ID.
|
![]() ![]() | GetNodeGUIDByNodeId(Int32, GeneralConnection) | Obsolete.
Returns the Node GUID equivalent for the given node ID.
|
![]() ![]() | GetNodeIdByAliasPath |
Returns the node ID corresponding to the given aliasPath.
|
![]() ![]() | GetNodeIdByNodeGUID(Guid, String) |
Returns the Node ID equivalent for the given node GUID.
|
![]() ![]() | GetNodeIdByNodeGUID(Guid, String, GeneralConnection) | Obsolete.
Returns the Node ID equivalent for the given node GUID.
|
![]() ![]() | GetNodeParentId |
Returns the parent node ID.
|
![]() ![]() | GetNodeSite |
Returns the site info of the specified node.
|
![]() ![]() | GetNodeUpperTree | Obsolete.
Gets the inherited value for document column.
|
![]() ![]() | GetParentPath(String) |
Returns the parent path for the specified path (any kind of path with "/" as a separator)
|
![]() ![]() | GetParentPath(String, Int32) |
Returns the parent path for the specified path, with distance of parentLevel from the given path.
|
![]() ![]() | GetParentPathRestricted |
Returns the parent path for the specified path (any kind of path with "/" as a separator) with restriction on depth of the path
|
![]() ![]() | GetPathLevel |
Returns the specified path level created from the given path.
|
![]() ![]() | GetRedirectionUrl(PageInfo, MacroResolver) |
Gets relative redirection URL based on given settings
|
![]() ![]() | GetRedirectionUrl(Guid, String, Boolean, MacroResolver) | Obsolete.
Gets relative redirection URL based on given settings
|
![]() ![]() | GetRedirectionUrl(Guid, Int32, String, Boolean, MacroResolver) |
Gets relative redirection URL based on given settings
|
![]() ![]() | GetSafeDocumentName |
Replaces back slash in document name.
|
![]() ![]() | GetSafeNodeAlias |
Returns the safe equivalent to the given nodeAlias.
|
![]() ![]() | GetSafeNodeAliasPath |
Returns the safe equivalent to the given node alias path.
|
![]() ![]() | GetSafeUrlPath(String, String) |
Returns the safe equivalent to the given URLPath.
|
![]() ![]() | GetSafeUrlPath(String, String, Boolean) |
Returns the safe equivalent to the given URLPath.
|
![]() ![]() | GetTreeView |
Selects records from View_CMS_Tree_Joined.
|
![]() ![]() | GetUniqueDocumentName |
Returns the unique document name for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
|
![]() ![]() | GetUniqueNodeAlias |
Returns the unique node alias for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
|
![]() ![]() | GetUniqueNodeName |
Returns the unique node name for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
|
![]() ![]() | GetUniqueUrlPath |
Returns the unique URL path for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
|
![]() ![]() | GetUrlExtension |
Returns URL extension used for friendly URLs for specified site.
|
![]() ![]() | GetURLPathDisplayName |
Gets the URL path display name
|
![]() ![]() | GetUrlPathFromNamePath |
Returns the UrlPath created from the given NamePath.
|
![]() ![]() | IsMenuItemType |
Returns true, if the class name is considered to be menu item type document (CMS.MenuItem or CMS.Root in basic).
|
![]() ![]() | KeepChangedDocumentsAccessible |
Returns true if the documents should be accessible after change (if the alias should be automatically generated for them).
|
![]() ![]() | NewDocumentOrder |
Returns the new document order settings for the given site.
|
![]() ![]() | ParseUrlPath |
Parses the prefix and default values out of the URL path
|
![]() ![]() | PathContainsWildcardChars |
Returns true if path contains wildcard characters(% or _)
|
![]() ![]() | UseNamePathForUrlPath |
Returns true if the new documents should automatically use the name path for their URL path.
|
Name | Description | |
---|---|---|
![]() ![]() | MAX_NAME_LENGTH |
Maximal length of the node document name.
|
![]() ![]() | MAXURLPATHLENGTH |
Maximal length of the node URLPath.
|
![]() ![]() | URL_PREFIX_MVC |
URL prefix for the MVC
|
![]() ![]() | URL_PREFIX_ROUTE |
URL prefix for the Routing
|
Name | Description | |
---|---|---|
![]() ![]() | MaxAliasLength |
Maximal length of the node alias name.
|
![]() ![]() | MaxNameLength |
Maximal length of the node document name.
|