SaaS CMS has officially launched! Learn more now.

Class ListViewProfile

Represents List view profile.

Inheritance
System.Object
ListViewProfile
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 class ListViewProfile

Constructors

ListViewProfile()

Initializes a new instance of the ListViewProfile class.

Declaration
public ListViewProfile()

Fields

isInit

Declaration
public static bool isInit
Field Value
Type Description
System.Boolean

ListViewProfileCategory

Declaration
public const string ListViewProfileCategory = "ListViewProfile"
Field Value
Type Description
System.String

SystemProfileListKeyName

Declaration
public const string SystemProfileListKeyName = "SystemProfileList"
Field Value
Type Description
System.String

Properties

ColumnsUI

Gets or sets the columns UI.

Declaration
public ColumnPropertiesCollection ColumnsUI { get; set; }
Property Value
Type Description
ColumnPropertiesCollection

The columns UI.

FieldSet

Gets or sets the field set.

Declaration
public List<string> FieldSet { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

The field set.

FieldSetName

Gets or sets the name of the field set.

Declaration
public string FieldSetName { get; set; }
Property Value
Type Description
System.String

The name of the field set.

Filters

Gets or sets the filters.

Declaration
public FilterElementCollection Filters { get; set; }
Property Value
Type Description
FilterElementCollection

The filters.

GroupByFieldName

Gets or sets the name of the group by field.

Declaration
public string GroupByFieldName { get; set; }
Property Value
Type Description
System.String

The name of the group by field.

Id

Gets or sets the id.

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

The id.

IsPublic

Gets or sets a value indicating whether this instance is public.

Declaration
public bool IsPublic { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is public; otherwise, false.

IsSystem

Gets or sets a value indicating whether this instance is system.

Declaration
public bool IsSystem { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is system; otherwise, false.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

ReadOnly

Gets or sets a value indicating whether [read only].

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
System.Boolean

true if [read only]; otherwise, false.

Sorting

Gets or sets the filters.

Declaration
public SortingElementCollection Sorting { get; set; }
Property Value
Type Description
SortingElementCollection

The filters.

Methods

CanDelete(String, String, String, Guid)

Determines whether this instance can delete the specified class name.

Declaration
public static bool CanDelete(string className, string viewName, string placeName, Guid userUid)
Parameters
Type Name Description
System.String className

Name of the class.

System.String viewName

Name of the view.

System.String placeName

Name of the place.

System.Guid userUid

The user uid.

Returns
Type Description
System.Boolean

true if this instance can delete the specified class name; otherwise, false.

CanDelete(String, String, String, Int32)

Determines whether this instance can delete the specified class name.

Declaration
public static bool CanDelete(string className, string viewName, string placeName, int userId)
Parameters
Type Name Description
System.String className

Name of the class.

System.String viewName

The profile id.

System.String placeName

Name of the place.

System.Int32 userId

The user id.

Returns
Type Description
System.Boolean

true if this instance can delete the specified class name; otherwise, false.

DeleteCustomProfile(String, String, ListViewProfile)

Deletes the custom profile.

Declaration
public static void DeleteCustomProfile(string className, string placeName, ListViewProfile profile)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

ListViewProfile profile

The profile.

DeleteCustomProfile(String, String, String)

Deletes the custom profile.

Declaration
public static void DeleteCustomProfile(string className, string viewName, string placeName)
Parameters
Type Name Description
System.String className

Name of the class.

System.String viewName

The profile id.

System.String placeName

Name of the place.

GetProfiles(String, String, Guid)

Gets the profiles.

Declaration
public static ListViewProfile[] GetProfiles(string className, string placeName, Guid userUid)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

System.Guid userUid

The user uid.

Returns
Type Description
ListViewProfile[]

GetProfiles(String, String, Int32)

Gets the profiles.

Declaration
public static ListViewProfile[] GetProfiles(string className, string placeName, int userId)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

System.Int32 userId

The user id.

Returns
Type Description
ListViewProfile[]

GetSystemProfiles(String, String)

Gets the system profiles.

Declaration
public static ListViewProfile[] GetSystemProfiles(string className, string placeName)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

Returns
Type Description
ListViewProfile[]

Init()

Declaration
public static void Init()

Load(String, String, String)

Loads the specified profile id.

Declaration
public static ListViewProfile Load(string className, string viewName, string placeName)
Parameters
Type Name Description
System.String className

Name of the class.

System.String viewName

The profile id.

System.String placeName

Name of the place.

Returns
Type Description
ListViewProfile

SaveCustomProfile(String, String, Guid, ListViewProfile)

Saves the custom profile.

Declaration
public static void SaveCustomProfile(string className, string placeName, Guid userUid, ListViewProfile profile)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

System.Guid userUid

The user uid.

ListViewProfile profile

The profile.

SaveCustomProfile(String, String, Int32, ListViewProfile)

Saves the custom profile.

Declaration
public static void SaveCustomProfile(string className, string placeName, int userId, ListViewProfile profile)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

System.Int32 userId

The user id.

ListViewProfile profile

The profile.

SaveSystemProfile(String, String, Guid, ListViewProfile)

Saves the system profile.

Declaration
public static void SaveSystemProfile(string className, string placeName, Guid userUid, ListViewProfile profile)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

System.Guid userUid

The user uid.

ListViewProfile profile

The profile.

SaveSystemProfile(String, String, Int32, ListViewProfile)

Saves the system profile.

Declaration
public static void SaveSystemProfile(string className, string placeName, int userId, ListViewProfile profile)
Parameters
Type Name Description
System.String className

Name of the class.

System.String placeName

Name of the place.

System.Int32 userId

The user id.

ListViewProfile profile

The profile.

Uninit()

Declaration
public static void Uninit()