Click or drag to resize
TreePathUtils Methods

The TreePathUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAllowPermanentPreviewLink
Returns true if document workflow cycle GUID shouldn't be changed when moving from publish/archive step to edit step.
Public methodStatic memberAutomaticallyUpdateDocumentAlias
Returns true if the document alias should be automatically updated upon document name change.
Public methodStatic memberEnsureChildPath
Ensures path to be for all child pages.
Public methodStatic memberEnsureMaxFileNameLength
Ensures maximal length of the file name. Reflects the class node name source field size.
Public methodStatic memberEnsureMaxNodeAliasLength
Ensures maximal allowed node alias length.
Public methodStatic memberEnsureMaxNodeNameLength
Ensures maximal length of the node document name. Reflects the class node name source field size.
Public methodStatic memberEnsureSingleNodePath
Ensures node alias path to be only for single document.
Public methodStatic memberEnsureSinglePath
Ensures path to be only for a single page.
Public methodStatic memberForbiddenCharactersReplacement
Returns string containing all forbidden characters that cannot be used in node alias and in the file system.
Public methodStatic memberForbiddenURLCharacters
Returns string containing all forbidden characters that cannot be used in node alias and in the file system.
Public methodStatic memberGetAlias
Returns the alias from the given alias path.
Public methodStatic memberGetAliasPathByNodeId
Returns the AliasPath equivalent for the given node ID.
Public methodStatic memberGetClassNameByAliasPath
Returns the node class name corresponding to the given aliasPath.
Public methodStatic memberGetClassNameByDocumentID
Returns the node class name corresponding to the given document ID.
Public methodStatic memberGetDocumentIdByDocumentGUID
Returns the Document ID equivalent for the given document GUID.
Public methodStatic memberGetDocumentSite
Returns the site info of the specified document.
Public methodStatic memberGetDocumentUrl
Returns document URL.
Public methodStatic memberGetFilesUrlExtension
Returns files URL extension used for friendly URLs for specified site.
Public methodStatic memberGetFirstChildUrl
Gets first child document URL
Public methodStatic memberGetChildNodes
Gets child nodes of node specified by identifier.
Public methodStatic memberGetMaxNameLength
Gets maximal length of the node document name. Reflects the class node name source field size.
Public methodStatic memberGetMenuCaption
Returns the menu caption.
Public methodStatic memberGetNodeByAliasPath
Gets the base node record (CMS_Tree) by the alias path and site name.
Public methodStatic memberGetNodeGUIDByNodeId(Int32)
Returns the Node GUID equivalent for the given node ID.
Public methodStatic memberGetNodeGUIDByNodeId(Int32, GeneralConnection) Obsolete.
Returns the Node GUID equivalent for the given node ID.
Public methodStatic memberGetNodeIdByAliasPath
Returns the node ID corresponding to the given aliasPath.
Public methodStatic memberGetNodeIdByNodeGUID(Guid, String)
Returns the Node ID equivalent for the given node GUID.
Public methodStatic memberGetNodeIdByNodeGUID(Guid, String, GeneralConnection) Obsolete.
Returns the Node ID equivalent for the given node GUID.
Public methodStatic memberGetNodeParentId
Returns the parent node ID.
Public methodStatic memberGetNodeSite
Returns the site info of the specified node.
Public methodStatic memberGetNodeUpperTree Obsolete.
Gets the inherited value for document column.
Public methodStatic memberGetParentPath(String)
Returns the parent path for the specified path (any kind of path with "/" as a separator)
Public methodStatic memberGetParentPath(String, Int32)
Returns the parent path for the specified path, with distance of parentLevel from the given path.
Public methodStatic memberGetParentPathRestricted
Returns the parent path for the specified path (any kind of path with "/" as a separator) with restriction on depth of the path
Public methodStatic memberGetPathLevel
Returns the specified path level created from the given path.
Public methodStatic memberGetRedirectionUrl(PageInfo, MacroResolver)
Gets relative redirection URL based on given settings
Public methodStatic memberGetRedirectionUrl(Guid, String, Boolean, MacroResolver) Obsolete.
Gets relative redirection URL based on given settings
Public methodStatic memberGetRedirectionUrl(Guid, Int32, String, Boolean, MacroResolver)
Gets relative redirection URL based on given settings
Public methodStatic memberGetSafeDocumentName
Replaces back slash in document name.
Public methodStatic memberGetSafeNodeAlias
Returns the safe equivalent to the given nodeAlias.
Public methodStatic memberGetSafeNodeAliasPath
Returns the safe equivalent to the given node alias path.
Public methodStatic memberGetSafeUrlPath(String, String)
Returns the safe equivalent to the given URLPath.
Public methodStatic memberGetSafeUrlPath(String, String, Boolean)
Returns the safe equivalent to the given URLPath.
Public methodStatic memberGetTreeView
Selects records from View_CMS_Tree_Joined.
Public methodStatic memberGetUniqueDocumentName
Returns the unique document name for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
Public methodStatic memberGetUniqueNodeAlias
Returns the unique node alias for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
Public methodStatic memberGetUniqueNodeName
Returns the unique node name for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
Public methodStatic memberGetUniqueUrlPath
Returns the unique URL path for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
Public methodStatic memberGetUrlExtension
Returns URL extension used for friendly URLs for specified site.
Public methodStatic memberGetURLPathDisplayName
Gets the URL path display name
Public methodStatic memberGetUrlPathFromNamePath
Returns the UrlPath created from the given NamePath.
Public methodStatic memberIsMenuItemType
Returns true, if the class name is considered to be menu item type document (CMS.MenuItem or CMS.Root in basic).
Public methodStatic memberKeepChangedDocumentsAccessible
Returns true if the documents should be accessible after change (if the alias should be automatically generated for them).
Public methodStatic memberNewDocumentOrder
Returns the new document order settings for the given site.
Public methodStatic memberParseUrlPath
Parses the prefix and default values out of the URL path
Public methodStatic memberPathContainsWildcardChars
Returns true if path contains wildcard characters(% or _)
Public methodStatic memberUseNamePathForUrlPath
Returns true if the new documents should automatically use the name path for their URL path.
Top
See Also