Click or drag to resize
ObjectHelper Class
Object manipulation methods.
Inheritance Hierarchy

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class ObjectHelper : CoreMethods

The ObjectHelper type exposes the following members.

Constructors
  NameDescription
Public methodObjectHelper
Top
Methods
  NameDescription
Public methodStatic memberAddDependingObjectTypes
Adds depending object types to the list.
Public methodStatic memberBuildFullName
Builds the full name from the given names.
Public methodStatic memberExtractObjectsData
Extracts the object data from given DataSet.
Public methodStatic memberGetBinaryData
Gets DataSet with binary data of given files.
Public methodStatic memberGetBinaryDataSet
Gets empty DataSet for binary data.
Public methodStatic memberGetDependencyColumnName Obsolete.
Get column name of the first dependency.
Public methodStatic memberGetDependencyColumnNames
Get dependingObjectType dependencies: 1. parent ID column, 2. site ID column, 3. list of object dependencies where dependency object type is dependsOnObjectType object type.
Public methodStatic memberGetExcludedNamesWhereCondition
Generate where condition due to excluded names.
Public methodStatic memberGetExportSelectionColumns
Returns the list of columns needed for export selection.
Public methodStatic memberGetObjectFriendlyName
Returns translated name of object type.
Public methodStatic memberGetObjectIconPath(Page, String, String, Boolean, Boolean) Obsolete.
Gets the icon for the given object type.
Public methodStatic memberGetObjectIconPath(Page, String, String, Boolean, Boolean, String) Obsolete.
Gets the icon for the given object type.
Public methodStatic memberGetObjectIconUrl Obsolete.
Gets the icon for the given object type.
Public methodStatic memberGetObjectsData(GetObjectsDataSettings)
Gets the DataSet of the objects data and their child objects.
Public methodStatic memberGetObjectsData(OperationTypeEnum, BaseInfo, String, String, Boolean, Boolean, TranslationHelper, String)
Gets the DataSet of the objects data and their child objects.
Public methodStatic memberGetObjectsData(OperationTypeEnum, GeneralizedInfo, QueryDataParameters, String, String, Boolean, Boolean, TranslationHelper, String, Int32)
Gets the DataSet of the objects data and their child objects.
Public methodStatic memberGetObjectsDataSet
Returns empty objects DataSet based on the given object type.
Public methodStatic memberGetOtherBindingParentIdColumn
Gets the parent ID column for the given binding type info for the direction of other binding (indirect parent)
Public methodStatic memberGetParentIdColumn
Gets the parent ID column for the given child type in parent type
Public methodStatic memberGetSiteBindingObject
Gets the site binding object for specified info object.
Public methodStatic memberParseFullName
Parses the full name in format "something.whatewer.abc" so that "something.whatever" is considered the first part, and "abc" second part.
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.)
Top
Fields
  NameDescription
Public fieldStatic memberBINARY_DATA_DEFAULT
Default binary data type.
Public fieldStatic memberBINARY_DATA_PREVIEW
Thumbnail data type.
Public fieldStatic memberGROUP_ADMINISTRATION
Administration object types - Group constant.
Public fieldStatic memberGROUP_DEVELOPMENT
Development object types - Group constant.
Public fieldStatic memberGROUP_DOCUMENTS
Document object type - Special constant.
Public fieldStatic memberGROUP_ECOMMERCE
E-commerce object types - Group constant.
Public fieldStatic memberGROUP_FORUMS
Forum object types - Group constant.
Public fieldStatic memberGROUP_NEWSLETTER
Polls object types - Group constant.
Public fieldStatic memberGROUP_NOTIFICATION
Notification object types - Group constant.
Public fieldStatic memberGROUP_OBJECTS
All objects object type - Group constant.
Public fieldStatic memberGROUP_OTHER
Other object types - Group constant.
Public fieldStatic memberGROUP_PAGETEMPLATE
Page template object types - Group constant.
Public fieldStatic memberGROUP_POLLS
Polls object types - Group constant.
Public fieldStatic memberGROUP_REPORTING
Reporting object types - Group constant.
Public fieldStatic memberGROUP_SITE
Site object types - Special constant.
Public fieldStatic memberGROUP_TOOLS
Site object types - Special constant.
Public fieldStatic memberGROUP_UICULTURE
UI culture object types - Group constant.
Public fieldStatic memberGROUP_WEBPART
Web part object types - Group constant.
Top
Properties
  NameDescription
Public propertyStatic memberSkipMissingObjectTypes
Indicates if missing object types can be skipped.
Top
See Also