HierarchyHelper Class |
Namespace: CMS.DataEngine
public class HierarchyHelper
The HierarchyHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | HierarchyHelper(ExportObjectSettings) |
Default constructor for inheritance
|
![]() | HierarchyHelper(ExportObjectSettings, GeneralizedInfo) |
Creates new instance of CMSHierarchyHelper which can be used to serialize given object.
|
Name | Description | |
---|---|---|
![]() ![]() | AddTranslation |
Adds given ID into the translation table to correct list according to objectType
|
![]() ![]() | AppendNode |
Appends hierarchy node to the result.
|
![]() ![]() | CacheExportResult |
Puts the result of the export to the cache (including TranslationHelper if present).
|
![]() ![]() | 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(ExportObjectSettings, 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
|
![]() ![]() | GetResultFromCache |
Tries find exported data and TranslationHelper in cache.
|
![]() | 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 |
Goes through the object structure and calls given delegates.
|
![]() ![]() | WrapResult |
Wraps final result into root if needed.
|
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
![]() | ResultBuilder |
Result builder
|
![]() | Settings |
Settings
|