HierarchyHelper MembersKentico 8.1 API Reference
The HierarchyHelper type exposes the following members.
Constructors

  NameDescription
Protected methodHierarchyHelper(ExportObjectSettings)
Default constructor for inheritance
Protected methodHierarchyHelper(ExportObjectSettings, GeneralizedInfo)
Creates new instance of CMSHierarchyHelper which can be used to serialize given object.
Back to Top
Methods

  NameDescription
Protected methodStatic memberAddTranslation
Adds given ID into the translation table to correct list according to objectType
Protected methodStatic memberAppendNode
Appends hierarchy node to the result.
Protected methodStatic memberCacheExportResult
Puts the result of the export to the cache (including TranslationHelper if present).
Protected methodStatic memberCallEndCollection(TraverseObjectSettings, String)
Calls given delegate with required parameters if delegate is not null.
Protected methodStatic memberCallEndCollection(TraverseObjectSettings, String, Boolean)
Calls given delegate with required parameters if delegate is not null.
Protected methodStatic memberCallItemCallback
Calls item callback if exists.
Protected methodStatic memberCallObjectCallback
Calls object callback if exists.
Protected methodStatic memberCallStartCollection(TraverseObjectSettings, String)
Calls given delegate with required parameters if delegate is not null.
Protected methodStatic memberCallStartCollection(TraverseObjectSettings, String, Boolean)
Calls given delegate with required parameters if delegate is not null.
Protected methodDataAvailable
Returns true if the data can be exported
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodStatic memberExportCategoryObjects
Exports categories data to given StringBuilder object.
Public methodExportObject 
Returns XML representation of given instance of info object.
Public methodStatic memberExportObject(ExportObjectSettings, BaseInfo)
Returns XML representation of given instance of info object.
Protected methodExportObjectData
Exports the object data
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Protected methodStatic memberGetCompositeID
Returns object ID even if it is composed out of multiple columns.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodStatic memberGetListOfColumns
Returns list of supported columns/properties
Protected methodStatic memberGetMetadata
Returns metadata for given object according to export settings.
Protected methodGetMetadataSource
Gets the metadata source object
Protected methodStatic memberGetResultFromCache
Tries find exported data and TranslationHelper in cache.
Protected methodGetSyndicationItem
Gets the syndication item created from current object
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodStatic memberLoadDataSetFromJSON
Recursively loads dataset from JSON deserialized object. Returns list of fields contained in the JSON data (for update object purposes).
Public methodStatic memberLoadObjectFromDataRow
Loads an GeneralizedInfo with values from given DataRow.
Public methodStatic memberLoadObjectFromDataSet(GeneralizedInfo, DataSet, Boolean, List String , List String )
Loads object data including collection from a given data set.
Protected methodStatic memberLoadObjectFromDataSet(GeneralizedInfo, DataSet, Boolean, Int32, List String , List String )
Loads object data including collection from a given data set.
Public methodStatic memberLoadObjectFromJSON
Loads objects data including collection from a given XML representation.
Public methodStatic memberLoadObjectFromXML
Loads objects data including collection from a given XML representation (root of the xml has to be ClassTableName of given object).
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodProcessArraySeparatorMethod
Handles array separator of the collection export.
Protected methodProcessEndCollectionMethod
Handles end of the collection export.
Protected methodProcessIDMethod
Handles FK ID (can be used to fill translation helper for example).
Protected methodProcessItemMethod
Handles FK ID (can be used to fill translation helper for example).
Protected methodProcessObjectMethod
Handles export to required format.
Protected methodProcessStartCollectionMethod
Handles start of the collection export.
Protected methodStatic memberProcessTranslations
Fills translation helper with data from hashtable and appends translations to the result if needed.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Protected methodStatic memberTraverseObjectCollection
Exports given child collection.
Public methodStatic memberTraverseObjectStructure
Goes through the object structure and calls given delegates.
Protected methodStatic memberWrapResult
Wraps final result into root if needed.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Protected propertyResultBuilder
Result builder
Protected propertySettings
Settings
Back to Top
See Also