The HierarchyHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
HierarchyHelper(ExportObjectSettings) |
Default constructor for inheritance
| |
HierarchyHelper(ExportObjectSettings, GeneralizedInfo) |
Creates new instance of CMSHierarchyHelper which can be used to serialize given object.
|
Methods
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
| |
Equals | (Inherited from Object.) | |
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
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCompositeID |
Returns object ID even if it is composed out of multiple columns.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
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
| |
GetType | Gets the Type of the current instance. (Inherited from 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, List String , List String ) |
Loads object data including collection from a given data set.
| |
LoadObjectFromDataSet(GeneralizedInfo, DataSet, Boolean, Int32, List String , List String ) |
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).
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from 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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TraverseObjectCollection |
Exports given child collection.
| |
TraverseObjectStructure |
Goes through the object structure and calls given delegates.
| |
WrapResult |
Wraps final result into root if needed.
|
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
Name | Description | |
---|---|---|
ResultBuilder |
Result builder
| |
Settings |
Settings
|
See Also