SaaS CMS has officially launched! Learn more now.

Class MetaViewGroupUtil

Inheritance
System.Object
MetaViewGroupUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Core
Assembly: Mediachase.BusinessFoundation.dll
Version: 11.8.3
Syntax
public static class MetaViewGroupUtil

Fields

keyValueNotDefined

Declaration
public const string keyValueNotDefined = "Not_Available_Type"
Field Value
Type Description
System.String

Methods

Collapse(MetaViewGroupByType, MetaViewPreference, Object)

Collapses the block.

Declaration
public static void Collapse(MetaViewGroupByType groupType, MetaViewPreference preference, object key)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

System.Object key

The block primary key id.

CollapseAll(MetaViewGroupByType, MetaViewPreference)

Collapses all.

Declaration
public static void CollapseAll(MetaViewGroupByType groupType, MetaViewPreference preference)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

CollapseOrExpand(MetaViewGroupByType, MetaViewPreference, Object)

Collapses or expands block.

Declaration
public static void CollapseOrExpand(MetaViewGroupByType groupType, MetaViewPreference preference, object key)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

System.Object key

The key.

CreateUniqueKey(MetaView, MetaObject, String, String)

Creates the unique key (primaryKeyId for metaObject) for MetaGridServer, also store MetaType. (DV: 2008-06-03)

Declaration
public static string CreateUniqueKey(MetaView view, MetaObject metaObject, string primaryKeyType, string secondaryKeyType)
Parameters
Type Name Description
MetaView view

The view.

MetaObject metaObject

The meta object.

System.String primaryKeyType

Type of the primary key.

System.String secondaryKeyType

Type of the secondary key.

Returns
Type Description
System.String

ExcludeCollapsed(MetaViewGroupByType, GroupByElement, GroupByElement, MetaViewPreference, MetaObject[])

Collapses the specified preference.

Declaration
public static MetaObject[] ExcludeCollapsed(MetaViewGroupByType groupType, GroupByElement groupByElement, GroupByElement primaryGroupByElement, MetaViewPreference preference, MetaObject[] items)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

GroupByElement groupByElement

The group by element.

GroupByElement primaryGroupByElement

The primary group by element.

MetaViewPreference preference

The preference.

MetaObject[] items

The items.

Returns
Type Description
MetaObject[]

Expand(MetaViewGroupByType, MetaViewPreference, Object)

Expands the block.

Declaration
public static void Expand(MetaViewGroupByType groupType, MetaViewPreference preference, object key)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

System.Object key

The block primary key id.

ExpandAll(MetaViewGroupByType, MetaViewPreference)

Expands all.

Declaration
public static void ExpandAll(MetaViewGroupByType groupType, MetaViewPreference preference)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

GetIdFromUniqueKey(String)

Gets the id from unique key.

Declaration
public static string GetIdFromUniqueKey(string key)
Parameters
Type Name Description
System.String key

The key.

Returns
Type Description
System.String

GetMetaTypeFromUniqueKey(String)

Gets the meta type from unique key.

Declaration
public static string GetMetaTypeFromUniqueKey(string key)
Parameters
Type Name Description
System.String key

The key.

Returns
Type Description
System.String

GetUniqueKey(MetaObject)

Gets the unique block key.

Declaration
public static string GetUniqueKey(MetaObject metaObject)
Parameters
Type Name Description
MetaObject metaObject

The block object.

Returns
Type Description
System.String

IsCollapsed(MetaViewGroupByType, MetaViewPreference, Object)

Determines whether [is block collapsed] [the specified time sheet view pref].

Declaration
public static bool IsCollapsed(MetaViewGroupByType groupType, MetaViewPreference preference, object key)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

System.Object key

The block primary key id.

Returns
Type Description
System.Boolean

true if [is block collapsed] [the specified time sheet view pref]; otherwise, false.

IsExpanded(MetaViewGroupByType, MetaViewPreference, Object)

Determines whether [is block expanded] [the specified time sheet view pref].

Declaration
public static bool IsExpanded(MetaViewGroupByType groupType, MetaViewPreference preference, object key)
Parameters
Type Name Description
MetaViewGroupByType groupType

Type of the group.

MetaViewPreference preference

The time sheet view pref.

System.Object key

The block primary key id.

Returns
Type Description
System.Boolean

true if [is block expanded] [the specified time sheet view pref]; otherwise, false.