TreePathUtils Class |
Namespace: CMS.DocumentEngine
public static class TreePathUtils
The TreePathUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MAX_NAME_LENGTH |
Maximal length of the node document name.
|
Name | Description | |
---|---|---|
![]() ![]() | MaxAliasLength |
Maximal length of the node alias name.
|
![]() ![]() | MaxNameLength |
Maximal length of the node document name.
|
![]() ![]() | RemoveDiacriticForSafeURLPath |
Indicates if diacritics should be removed from the URL path.
|
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.
|
![]() ![]() | ExistsLinkedPageInSubTree |
Return true if the specified subtree contains any linked page.
|
![]() ![]() | GetAlias |
Returns the alias from the given alias path.
|
![]() ![]() | GetAliasPathByNodeId |
Returns the AliasPath equivalent for the given node ID.
|
![]() ![]() | GetAliasPathCondition |
Returns the where condition for node alias path expression.
|
![]() ![]() | 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 original document ID.
|
![]() ![]() | GetMaxNameLength |
Gets maximal length of the node document name. Reflects the class node name source field size.
|
![]() ![]() | GetNodeAliasPathsOnPath |
Gets list of node alias paths for all documents on given path.
|
![]() ![]() | GetNodeByAliasPath |
Gets the base node record (CMS_Tree) by the alias path and site name.
|
![]() ![]() | GetNodeGUIDByNodeId |
Returns the Node GUID equivalent for the given node ID.
|
![]() ![]() | GetNodeIdByAliasPath |
Returns the node ID corresponding to the given aliasPath.
|
![]() ![]() | GetNodeIdByNodeGUID |
Returns the Node ID equivalent for the given node GUID.
|
![]() ![]() | GetNodeInheritedValue |
Gets the inherited value for a single document column.
|
![]() ![]() | GetNodeParentId |
Returns the parent node ID.
|
![]() ![]() | GetNodeSite |
Returns the site info of the specified node.
|
![]() ![]() | GetNodesOnPathWhereCondition |
Returns where condition for all nodes on the path to the given alias path.
|
![]() ![]() | 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.
|
![]() ![]() | GetPathLevel |
Returns the specified path level created from the given path.
|
![]() ![]() | GetSafeDocumentName |
Replaces back slash in document name.
|
![]() ![]() | GetSafeNodeAlias |
Returns node alias without forbidden characters.
|
![]() ![]() | GetUniqueNodeAlias |
Returns the unique node alias for the given node, node alias and parent node.
|
![]() ![]() | GetUniqueNodeName |
Returns the unique node name for the given node, node name and parent node.
|
![]() ![]() | IsMenuItemType |
Returns true, if the class name is considered to be menu item type document.
|
![]() ![]() | NewDocumentOrder |
Returns the new document order settings for the given site.
|