HierarchyHelper Class |
Namespace: CMS.DataEngine
public class HierarchyHelper
The HierarchyHelper type exposes the following members.
Name | Description | |
---|---|---|
HierarchyHelper(TraverseObjectSettings) |
Default constructor for inheritance
| |
HierarchyHelper(TraverseObjectSettings, GeneralizedInfo) |
Creates new instance of CMSHierarchyHelper which can be used to serialize given object.
|
Name | Description | |
---|---|---|
ResultBuilder |
Result builder
| |
Settings |
Settings
|
Name | Description | |
---|---|---|
AddTranslation |
Adds given ID into the translation table to correct list according to objectType
| |
AppendNode |
Appends hierarchy node to the result.
| |
CallEndCollection(TraverseObjectSettings, String) |
Calls given delegate with required parameters if delegate is not null.
| |
CallEndCollection(TraverseObjectSettings, String, Boolean) |
Calls given delegate with required parameters if delegate is not null.
| |
CallItemCallback |
Calls item callback if exists.
| |
CallObjectCallback |
Calls object callback if exists.
| |
CallStartCollection(TraverseObjectSettings, String) |
Calls given delegate with required parameters if delegate is not null.
| |
CallStartCollection(TraverseObjectSettings, String, Boolean) |
Calls given delegate with required parameters if delegate is not null.
| |
DataAvailable |
Returns true if the data can be exported
| |
ExportCategoryObjects |
Exports categories data to given StringBuilder object.
| |
ExportObject |
Returns XML representation of given instance of info object.
| |
ExportObject(TraverseObjectSettings, BaseInfo) |
Returns XML representation of given instance of info object.
| |
ExportObjectData |
Exports the object data
| |
GetCompositeID |
Returns object ID even if it is composed out of multiple columns.
| |
GetListOfColumns |
Returns list of supported columns/properties
| |
GetMetadata |
Returns metadata for given object according to export settings.
| |
GetMetadataSource |
Gets the metadata source object
| |
GetSyndicationItem |
Gets the syndication item created from current object
| |
LoadDataSetFromJSON |
Recursively loads dataset from JSON deserialized object. Returns list of fields contained in the JSON data (for update object purposes).
| |
LoadObjectFromDataRow |
Loads an GeneralizedInfo with values from given DataRow.
| |
LoadObjectFromDataSet(GeneralizedInfo, DataSet, Boolean, ListString, ListString) |
Loads object data including collection from a given data set.
| |
LoadObjectFromDataSet(GeneralizedInfo, DataSet, Boolean, Int32, ListString, ListString) |
Loads object data including collection from a given data set.
| |
LoadObjectFromJSON |
Loads objects data including collection from a given XML representation.
| |
LoadObjectFromXML |
Loads objects data including collection from a given XML representation (root of the xml has to be ClassTableName of given object).
| |
ProcessArraySeparatorMethod |
Handles array separator of the collection export.
| |
ProcessEndCollectionMethod |
Handles end of the collection export.
| |
ProcessIDMethod |
Handles FK ID (can be used to fill translation helper for example).
| |
ProcessItemMethod |
Handles FK ID (can be used to fill translation helper for example).
| |
ProcessObjectMethod |
Handles export to required format.
| |
ProcessStartCollectionMethod |
Handles start of the collection export.
| |
ProcessTranslations |
Fills translation helper with data from hashtable and appends translations to the result if needed.
| |
TraverseObjectCollection |
Exports given child collection.
| |
TraverseObjectStructure(TraverseObjectSettings, GeneralizedInfo) |
Goes through the object structure and calls given delegates.
| |
TraverseObjectStructure(TraverseObjectSettings, GeneralizedInfo, Int32) |
Goes through the object structure and calls given delegates.
| |
WrapResult |
Wraps final result into root if needed.
|