November Happy Hour will be moved to Thursday December 5th.

Class FilterSet

Represents Filter Set.

Inheritance
System.Object
FilterSet
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: 12.17.2
Syntax
public static class FilterSet

Methods

Delete(String, Int32, String)

Deletes the specified class name.

Declaration
public static void Delete(string className, int userId, string id)
Parameters
Type Name Description
System.String className

Name of the class.

System.Int32 userId

The user id.

System.String id

The id.

DeleteAll(String, Int32)

Deletes all.

Declaration
public static void DeleteAll(string className, int userId)
Parameters
Type Name Description
System.String className

Name of the class.

System.Int32 userId

The user id.

GetFilters(String, String)

Gets the filters.

Declaration
public static FilterElementCollection GetFilters(string className, string id)
Parameters
Type Name Description
System.String className

Name of the class.

System.String id

The id.

Returns
Type Description
FilterElementCollection

GetFilters(String, String, Int32)

Gets the filters.

Declaration
public static FilterElementCollection GetFilters(string className, string id, int userId)
Parameters
Type Name Description
System.String className

Name of the class.

System.String id

The id.

System.Int32 userId

The user id.

Returns
Type Description
FilterElementCollection

GetInfoList(String)

Gets the info list.

Declaration
public static FilterSetInfo[] GetInfoList(string className)
Parameters
Type Name Description
System.String className

Name of the class.

Returns
Type Description
FilterSetInfo[]

System FilterSetInfo items only.

GetInfoList(String, Int32)

Gets the info list.

Declaration
public static FilterSetInfo[] GetInfoList(string className, int userId)
Parameters
Type Name Description
System.String className

Name of the class.

System.Int32 userId

The user id.

Returns
Type Description
FilterSetInfo[]

System and user FilterSetInfo items.

InfoIsSystem(String, String)

Infoes the is system.

Declaration
public static bool InfoIsSystem(string className, string id)
Parameters
Type Name Description
System.String className

Name of the class.

System.String id

The id.

Returns
Type Description
System.Boolean

Save(String, Int32, String, FilterElementCollection)

Saves the specified class name.

Declaration
public static string Save(string className, int userId, string name, FilterElementCollection filters)
Parameters
Type Name Description
System.String className

Name of the class.

System.Int32 userId

The user id.

System.String name

The name.

FilterElementCollection filters

The filters.

Returns
Type Description
System.String

Save(String, Int32, String, String, FilterElementCollection)

Saves the specified class name.

Declaration
public static void Save(string className, int userId, string id, string name, FilterElementCollection filters)
Parameters
Type Name Description
System.String className

Name of the class.

System.Int32 userId

The user id.

System.String id

The id.

System.String name

The name.

FilterElementCollection filters

The filters.