TreePathUtils MembersKentico 8.0 API Reference
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 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)
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)
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
Gets the inherited value for document node (only values from CMS_Tree).
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)
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(String, Int32, String)
Returns the unique URL path for the specified parent node, does not check duplicity if duplicity occurs within the currentNodeId.
Public methodStatic memberGetUniqueUrlPath(String, Int32, String, String)
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.
Back to Top
Fields

  NameDescription
Public fieldStatic memberMAX_NAME_LENGTH
Maximal length of the node document name.
Public fieldStatic memberMAXURLPATHLENGTH
Maximal length of the node URLPath.
Public fieldStatic memberURL_PREFIX_MVC
URL prefix for the MVC
Public fieldStatic memberURL_PREFIX_ROUTE
URL prefix for the Routing
Back to Top
Properties

  NameDescription
Public propertyStatic memberMaxAliasLength
Maximal length of the node alias name.
Public propertyStatic memberMaxNameLength
Maximal length of the node document name.
Back to Top
See Also