Top Method Summary
Options Name Purpose
Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider Deregister (ISmartTreeNodeProvider) Deregisters an ISmartTreeNodeProvider with the registry
Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode GetChildNodes (character, CharacterDictionary) Returns the root node of an smart-tree-view component
Consultingwerk.CommonUi.Components.TreeView.SerializableTreeNode GetNode (character, CharacterDictionary) Returns the refreshed node of the given node type identified by the given key values
Consultingwerk.CommonUi.Components.TreeView.SerializableTreeRootNode GetRootNode (character, character) Returns the root node of an smart-tree-view component
Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode NodesOfType (ListSerializableTreeNode, character) Returns the nodes of the given node type
Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider Register (ISmartTreeNodeProvider) Registers an ISmartTreeNodeProvider with the registry
Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode UpdateNodeGroup (ListSerializableTreeNode, character) Offers the nodes of a single node type to the registered providers implementing ISmartUpdatableTreeNodeProvider
Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode UpdateNodes (ListSerializableTreeNode) Saves the changed values of the given nodes and returns the refreshed nodes

Top Constructor Summary
Options Name Purpose
SmartTreeNodeProviderRegistry () Constructor for the SmartTreeNodeProviderRegistry class


Method Detail
Top

Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider Deregister (ISmartTreeNodeProvider)

Purpose: Deregisters an ISmartTreeNodeProvider with the registry
Notes:

Parameters:
poProvider Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider
The ISmartTreeNodeProvider instance to deregister
Returns Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider
The ISmartTreeNodeProvider instance itself (for fluent style)
Top

Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode GetChildNodes (character, CharacterDictionary)

Purpose: Returns the root node of an smart-tree-view component
Notes:

Parameters:
pcParentNodeType CHARACTER
The node type
poFilterValues Consultingwerk.Framework.Collections.CharacterDictionary
The node filter values
Returns Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the child nodes
Top

Consultingwerk.CommonUi.Components.TreeView.SerializableTreeNode GetNode (character, CharacterDictionary)

Purpose: Returns the refreshed node of the given node type identified
by the given key values
Notes: SCL-2033. Consults the registered providers implementing the
ISmartTreeNodeRefreshProvider interface in registration order
and returns the first node returned by a provider

Parameters:
pcNodeType CHARACTER
The node type
poKeyValues Consultingwerk.Framework.Collections.CharacterDictionary
The key values identifying the node
Returns Consultingwerk.CommonUi.Components.TreeView.SerializableTreeNode
The refreshed SerializableTreeNode instance or the unknown value
Top

Consultingwerk.CommonUi.Components.TreeView.SerializableTreeRootNode GetRootNode (character, character)

Purpose: Returns the root node of an smart-tree-view component
Notes:

Parameters:
pcNodeType CHARACTER
The node type
pcFilter CHARACTER
The filter string (typically a JSON string)
Returns Consultingwerk.CommonUi.Components.TreeView.SerializableTreeRootNode
The SerializableTreeRootNode instance
Top

Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode NodesOfType (ListSerializableTreeNode, character)

Purpose: Returns the nodes of the given node type
Notes: SCL-5849

Parameters:
poNodes Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the changed nodes
pcNodeType CHARACTER
The node type
Returns Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the nodes of the node type
Top

Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider Register (ISmartTreeNodeProvider)

Purpose: Registers an ISmartTreeNodeProvider with the registry
Notes:

Parameters:
poProvider Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider
The ISmartTreeNodeProvider instance to register
Returns Consultingwerk.CommonUi.Components.TreeView.ISmartTreeNodeProvider
The ISmartTreeNodeProvider instance itself (for fluent style)
Top

Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode UpdateNodeGroup (ListSerializableTreeNode, character)

Purpose: Offers the nodes of a single node type to the registered
providers implementing ISmartUpdatableTreeNodeProvider
Notes: SCL-5849. See UpdateNodes

Parameters:
poGroup Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the nodes of a single node type
pcNodeType CHARACTER
The node type of the nodes
Returns Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the refreshed nodes
Top

Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode UpdateNodes (ListSerializableTreeNode)

Purpose: Saves the changed values of the given nodes and returns the
refreshed nodes
Notes: SCL-5849. The registered providers do not declare the node
types they own, so the nodes are grouped by node type (in the
order of the first occurrence) and each group is offered to the
registered providers implementing ISmartUpdatableTreeNodeProvider
in registration order; the first provider returning a valid list
has handled the group. A group no provider handles raises a
TreeNodeUpdateNotSupportedException. Every provider call runs
its own transaction, so an update spanning several providers is
not atomic: the validation errors of all groups are collected
and raised together in one TreeNodeValidationException, whose
UpdatedNodes carry the refreshed nodes of the groups that were
saved. Any other error stops the dispatch.
Call it outside of a transaction (as the web handler and the
DynamicTreeViewControl do): inside an active transaction the
provider saves are subtransactions, and raising the exception
from this method undoes the saved groups as well, although
UpdatedNodes still reports them

Parameters:
poNodes Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the changed nodes
Returns Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode
The ListSerializableTreeNode with the refreshed nodes


Constructor Detail
Top

SmartTreeNodeProviderRegistry ()

Purpose: Constructor for the SmartTreeNodeProviderRegistry class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:22:26