ObjectHelper Class |
Namespace: CMS.DataEngine
public class ObjectHelper : CoreMethods
The ObjectHelper type exposes the following members.
Name | Description | |
---|---|---|
ObjectHelper |
Name | Description | |
---|---|---|
AddDependingObjectTypes |
Adds depending object types to the list.
| |
BuildFullName |
Builds the full name from the given names.
| |
ExtractObjectsData |
Extracts the object data from given DataSet.
| |
GetBinaryData |
Gets DataSet with binary data of given files.
| |
GetBinaryDataSet |
Gets empty DataSet for binary data.
| |
GetDependencyColumnName | Obsolete.
Get column name of the first dependency.
| |
GetDependencyColumnNames |
Get dependingObjectType dependencies: 1. parent ID column, 2. site ID column, 3. list of object dependencies where dependency object type is dependsOnObjectType object type.
| |
GetExcludedNamesWhereCondition |
Generate where condition due to excluded names.
| |
GetExportSelectionColumns |
Returns the list of columns needed for export selection.
| |
GetObjectFriendlyName |
Returns translated name of object type.
| |
GetObjectIconPath(Page, String, String, Boolean, Boolean) | Obsolete.
Gets the icon for the given object type.
| |
GetObjectIconPath(Page, String, String, Boolean, Boolean, String) | Obsolete.
Gets the icon for the given object type.
| |
GetObjectIconUrl | Obsolete.
Gets the icon for the given object type.
| |
GetObjectsData(GetObjectsDataSettings) |
Gets the DataSet of the objects data and their child objects.
| |
GetObjectsData(OperationTypeEnum, BaseInfo, String, String, Boolean, Boolean, TranslationHelper, String) |
Gets the DataSet of the objects data and their child objects.
| |
GetObjectsData(OperationTypeEnum, GeneralizedInfo, QueryDataParameters, String, String, Boolean, Boolean, TranslationHelper, String, Int32) |
Gets the DataSet of the objects data and their child objects.
| |
GetObjectsDataSet |
Returns empty objects DataSet based on the given object type.
| |
GetOtherBindingParentIdColumn |
Gets the parent ID column for the given binding type info for the direction of other binding (indirect parent)
| |
GetParentIdColumn |
Gets the parent ID column for the given child type in parent type
| |
GetSiteBindingObject |
Gets the site binding object for specified info object.
| |
ParseFullName |
Parses the full name in format "something.whatewer.abc" so that "something.whatever" is considered the first part, and "abc" second part.
|
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 | |
---|---|---|
BINARY_DATA_DEFAULT |
Default binary data type.
| |
BINARY_DATA_PREVIEW |
Thumbnail data type.
| |
GROUP_ADMINISTRATION |
Administration object types - Group constant.
| |
GROUP_DEVELOPMENT |
Development object types - Group constant.
| |
GROUP_DOCUMENTS |
Document object type - Special constant.
| |
GROUP_ECOMMERCE |
E-commerce object types - Group constant.
| |
GROUP_FORUMS |
Forum object types - Group constant.
| |
GROUP_NEWSLETTER |
Polls object types - Group constant.
| |
GROUP_NOTIFICATION |
Notification object types - Group constant.
| |
GROUP_OBJECTS |
All objects object type - Group constant.
| |
GROUP_OTHER |
Other object types - Group constant.
| |
GROUP_PAGETEMPLATE |
Page template object types - Group constant.
| |
GROUP_POLLS |
Polls object types - Group constant.
| |
GROUP_REPORTING |
Reporting object types - Group constant.
| |
GROUP_SITE |
Site object types - Special constant.
| |
GROUP_TOOLS |
Site object types - Special constant.
| |
GROUP_UICULTURE |
UI culture object types - Group constant.
| |
GROUP_WEBPART |
Web part object types - Group constant.
|
Name | Description | |
---|---|---|
SkipMissingObjectTypes |
Indicates if missing object types can be skipped.
|