TreeProvider Class |
Namespace: CMS.DocumentEngine
public class TreeProvider
The TreeProvider type exposes the following members.
Name | Description | |
---|---|---|
TreeProvider |
Constructor.
| |
TreeProvider(IUserInfo) |
Constructor.
|
Name | Description | |
---|---|---|
ALL_CLASSNAMES |
Supplementary constant to specify all class names.
| |
ALL_CULTURES |
Supplementary constant to specify all document cultures.
| |
ALL_DOCUMENTS |
Supplementary constant to specify all documents.
| |
ALL_LEVELS |
All relative levels.
| |
ALL_SITES |
Supplementary constant to specify all sites.
|
Name | Description | |
---|---|---|
AllowAsyncActions |
Indicates whether asynchronous actions should be allowed (log synchronization tasks). By default it is set to TRUE.
| |
AutomaticallyUpdateDocumentAlias |
If true, the document alias should be automatically updated upon document name change.
| |
CheckLinkConsistency |
If true, the linked document checks if the reference to its original is preserved.
| |
CheckUniqueAttachmentNames |
If true, unique attachment names within one document are checked against the database. Turn off only when you perform the validation by yourself.
| |
CheckUniqueNames |
If true, unique node names, document names and aliases are checked against the database. Turn off only when you perform the validation by yourself.
| |
CombineWithDefaultCulture |
Indicates if returned nodes should be combined with appropriate nodes of default culture in case they are not localized. It applies only if you're using multilingual support. The default value is false.
| |
EnableNotifications |
Indicates whether notifications are sent when content changes occur (document updated/inserted/deleted,...). By default it is set to TRUE.
| |
EnsureSafeNodeAlias |
If true, node alias will include only allowed characters (turn off only when you perform the validation by yourself or the source data are already valdiated).
| |
FilterOutDuplicates |
If true, duplicate (linked) items are filtered.
| |
GenerateNewGuid |
If true, new GUID is generated for the inserted nodes where required.
| |
GenerateUrlPathsOnInsert |
If true, page URL paths (PageUrlPathInfo) are generated on the insert operation.
| |
KeepCheckedInOnInsert |
If true, the document stays checked in on the insert operation
| |
LogEvents |
If true, events are log on document update.
| |
LogIntegration |
If true, integration tasks are logged on document update.
| |
LogSynchronization |
If true, synchronization tasks are logged on document update.
| |
LogWebFarmTasks |
If true, web farm tasks are logged on the object update.
| |
MergeResults |
If true, tables from result DataSet are merged into a single table.
| |
PreferredCultureCode |
Preferred culture code to use when none set.
| |
ProviderObject |
Returns search provider object.
| |
SelectAllData |
If true, all data are selected. Otherwise only base document data are selected.
| |
SelectQueryName |
Base query name to use for the document selection (for the enhanced selection options only).
| |
SortMergedResults |
If true, merged results are sorted.
| |
TouchCacheDependencies |
If true, cache dependencies are touched on document update.
| |
UpdateDocumentContent |
If true, document content is updated from internal objects.
| |
UpdatePaths |
Indicates if document name and URL paths should be updated.
| |
UpdateSKUColumns |
If true, SKU columns of the document are updated.
| |
UpdateTimeStamps |
If true, time stamps of the document are updated.
| |
UpdateUrlPathsOnParentChange |
If true, page URL paths (PageUrlPathInfo) are updated on the parent change within update operation.
| |
UpdateUser |
If true, user IDs of the document (creator, modifier) are updated.
| |
UseAutomaticOrdering |
If true, automatic ordering is used for new nodes.
| |
UseCustomHandlers |
If true, custom handlers are used with Document operations.
| |
UserInfo |
Current user info.
|
Name | Description | |
---|---|---|
AllSites |
Returns true if the given site name value represents all sites
| |
AttachmentSearch |
Searches attachment binary data for search expression.
| |
ChangeCulture |
Changes culture of the documents in old culture to the new one.
If there is an existing document in new culture, the old culture version is not changed to the new one.
| |
ChangeSiteDefaultCulture(String, String) |
Changes default culture of the site.
| |
ChangeSiteDefaultCulture(String, String, String) |
Changes default culture of the site. Removes old culture from the site and adds the new one. Changes culture of the documents in the old culture to the new one.
Doesn't handle collisions of existing documents in new culture.
| |
CheckDocumentUIPermissions |
Returns whether document permissions should be checked in the content management UI.
| |
ClearCheckoutInformation |
Clears the checkout information from the given tree node.
| |
ClearWorkflowInformation |
Clears the workflow information from the given tree node.
| |
CreateSiteRoot |
Creates site tree root. For purposes of site creation.
| |
DeleteLinks |
Deletes all links including child documents to the specified node.
| |
DeleteSiteTree |
Deletes site tree root. For purposes of site deletion.
| |
EnsureRequiredColumns |
Ensures columns required for selection in given column list. Returns the adjusted list
| |
FilterOutDuplicateDocuments |
Filters out duplicate documents (linked ones).
| |
FilterOutLocalizedRows |
Removes nodes of any culture that are translated to required language.
| |
FilterOutLocalizedVersions |
Removes nodes of default culture that are translated to required language.
| |
GetClassNamesWhereCondition |
Returns where condition for given class names.
| |
GetCombineWithDefaultCulture |
Returns whether nodes should be combined with appropriate nodes of default culture if not localized. This applies only when using multilingual support. The default value is false.
| |
GetCompleteWhereCondition |
Returns the complete where condition based on the given parameters.
| |
GetDocument(IDataContainer, TreeProvider) |
Creates document from given data.
| |
GetDocumentNodeType(IDataContainer, TreeProvider) |
Creates document from given data.
| |
GetOriginalNode |
Returns the original node for given link node in specified culture.
| |
GetPublishedWhereCondition |
Gets the where condition for published documents
| |
InitNodeOrders |
Initializes the node order under specified parent node.
| |
MoveNodeDown(Int32) |
Moves specified node down in the order sequence (down = larger NodeOrder = further in the navigation).
| |
MoveNodeDown(TreeNode) |
Moves specified node down in the order sequence (down = larger NodeOrder = further in the navigation).
| |
MoveNodeUp(Int32) |
Moves specified node up in the order sequence (up = smaller NodeOrder = closer to beginning in the navigation).
| |
MoveNodeUp(TreeNode) |
Moves specified node up in the order sequence (up = smaller NodeOrder = closer to beginning in the navigation).
| |
RemoveCMSExcludeDocumentsFromSearch |
Filters results with AliasPath in CMSExcludeDocumentsFromSearch key.
| |
Search(String, String, String, String, SearchModeEnum, Boolean, String, Boolean, Boolean, String, String) |
Searches data and returns results.
| |
Search(String, String, String, String, SearchModeEnum, Boolean, String, Boolean, Boolean, String, String, Boolean) |
Searches specified node and returns results.
| |
SelectNodes |
Gets the query for all published documents
| |
SelectNodes(String) |
Gets the query for all published documents of specific type
| |
SelectNodes(NodeSelectionParameters) |
Returns nodes matching the provided parameters. Result contains coupled data only if classNames are specified.
| |
SelectNodes(Int32, String, String) |
Returns nodes specified by node ID, culture and site name. Multiple nodes are returned if ALL_CULTURES passed in cultureCode parameter. Does not select coupled data.
| |
SelectNodes(String, String, String, Boolean, String, String, String, Int32, Boolean, Int32, String) |
Returns nodes specified by node alias path, culture and site name, optionally combined with default culture. Result contains coupled data only if classNames are specified.
| |
SelectNodes(String, String, String, Boolean, String, String, String, Int32, Boolean, Guid, String, Boolean, Int32, String) |
Returns nodes without coupled data specified by node alias path, culture and site name, optionally combined with default culture.
| |
SelectNodesNodeType |
Gets the query for all published documents of specific type
| |
SelectNodesCount |
Returns nodes count matching the provided parameters.
| |
SelectSingleDocument(Int32, Boolean, String) |
Returns single node specified by document ID. If the result is a link to another document original document is returned instead.
| |
SelectSingleDocumentNodeType(Int32, Boolean, String) |
Returns single node specified by document ID. If the result is a link to another document original document is returned instead.
| |
SelectSingleNode(NodeSelectionParameters) |
Returns single node matching the provided parameters.
| |
SelectSingleNode(Int32, String) |
Returns single node specified by node ID and culture.
| |
SelectSingleNode(Guid, String, String) |
Returns single node specified by node GUID, culture and site name. Does not include the coupled data.
| |
SelectSingleNode(Int32, String, String) |
Returns single node specified by specified node ID, culture and class name. Most efficient way of getting the document. Result contains coupled data only if classNames are specified.
| |
SelectSingleNode(String, String, String) |
Returns single node specified by alias path, culture and site name.
| |
SelectSingleNode(Guid, String, String, Boolean) |
Returns single node specified by node GUID, culture and site name. Does not include the coupled data.
| |
SelectSingleNode(Int32, String, Boolean, Boolean) |
Returns single node specified by node ID and culture, optionally combined with default culture.
| |
SelectSingleNode(String, String, String, Boolean, String, Boolean, Boolean, Boolean) |
Returns single node specified by alias path, culture and site name matching the provided parameters.
| |
SelectSingleNode(String, String, String, Boolean, String, String, String, Int32, Boolean, String) |
Returns single node specified by alias path, culture and site name matching the provided parameters. Result contains coupled data only if classNames are specified.
| |
SelectSingleNodeNodeType(NodeSelectionParameters) |
Returns single node matching the provided parameters. Result contains coupled data only if classNames are specified.
| |
SelectSingleNodeNodeType(Guid, String, String, Boolean) |
Returns single node specified by node GUID, culture and site name. Does not include the coupled data.
| |
SelectSingleNodeNodeType(Int32, String, Boolean, Boolean) |
Returns single node specified by node ID and culture.
| |
SelectSingleNodeNodeType(String, String, String, Boolean, String, Boolean, Boolean, Boolean) |
Returns single node specified by alias path, culture and site name.
| |
SelectSingleNodeNodeType(String, String, String, Boolean, String, String, String, Int32, Boolean, String) |
Returns single node specified by alias path, culture and site name matching the provided parameters. Result contains coupled data only if classNames are specified.
| |
SetNodeOrder(Int32, DocumentOrderEnum) |
Sets the specified node order.
| |
SetNodeOrder(Int32, Int32) |
Sets the specified node order.
| |
SetNodeOrder(TreeNode, DocumentOrderEnum) |
Sets the specified node order.
| |
SetNodeOrder(TreeNode, Int32) |
Sets the specified node order.
| |
SetQueryCultures |
Sets the query cultures to include proper combination of cultures for backward compatibility.
Use only in case when your code uses string culture parameter, which may have TreeProvider.ALL_CULTURES value
| |
SortNodesAlphabetically |
Sort child nodes alphabetically by document name.
| |
SortNodesByDate |
Sort child nodes by the date of last modification.
|