Class ListViewProfileExpressionProvider

Represents ListViewProfile Filter ExpressionProvider.

Inheritance
System.Object
ListViewProfileExpressionProvider
Namespace: Mediachase.BusinessFoundation.Core
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0
Syntax
public class ListViewProfileExpressionProvider : FilterExpressionProvider

Constructors

ListViewProfileExpressionProvider()

Initializes a new instance of the ListViewProfileExpressionProvider class.

Declaration
public ListViewProfileExpressionProvider()

Fields

Boolean_IsFalse

Declaration
protected const string Boolean_IsFalse = "IsFalse"
Field Value
Type Description
System.String

Boolean_IsTrue

Declaration
protected const string Boolean_IsTrue = "IsTrue"
Field Value
Type Description
System.String

DateTime_LastMonth

Declaration
protected const string DateTime_LastMonth = "LastMonth"
Field Value
Type Description
System.String

DateTime_LastWeek

Declaration
protected const string DateTime_LastWeek = "LastWeek"
Field Value
Type Description
System.String

DateTime_LastYear

Declaration
protected const string DateTime_LastYear = "LastYear"
Field Value
Type Description
System.String

DateTime_ThisMonth

Declaration
protected const string DateTime_ThisMonth = "ThisMonth"
Field Value
Type Description
System.String

DateTime_ThisWeek

Declaration
protected const string DateTime_ThisWeek = "ThisWeek"
Field Value
Type Description
System.String

DateTime_ThisYear

Declaration
protected const string DateTime_ThisYear = "ThisYear"
Field Value
Type Description
System.String

DateTime_Today

Declaration
protected const string DateTime_Today = "Today"
Field Value
Type Description
System.String

DateTime_Yesterday

Declaration
protected const string DateTime_Yesterday = "Yesterday"
Field Value
Type Description
System.String

Methods

ConvertElementToNode(MetaClass, FilterElement)

Converts the element to node.

Declaration
protected virtual FilterExpressionNode ConvertElementToNode(MetaClass metaClass, FilterElement element)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

FilterElement element

The element.

Returns
Type Description
FilterExpressionNode

ConvertElementToNode(MetaClass, FilterElementCollection)

Converts the element to node.

Declaration
protected virtual FilterExpressionNodeCollection ConvertElementToNode(MetaClass metaClass, FilterElementCollection elements)
Parameters
Type Name Description
MetaClass metaClass

The meta class.

FilterElementCollection elements

The elements.

Returns
Type Description
FilterExpressionNodeCollection

ConvertNodeToElement(MetaClass, FilterExpressionNode)

Declaration
protected virtual FilterElement ConvertNodeToElement(MetaClass metaClass, FilterExpressionNode node)
Parameters
Type Name Description
MetaClass metaClass
FilterExpressionNode node
Returns
Type Description
FilterElement

ConvertNodeToElement(MetaClass, FilterExpressionNodeCollection)

Declaration
protected virtual FilterElementCollection ConvertNodeToElement(MetaClass metaClass, FilterExpressionNodeCollection nodes)
Parameters
Type Name Description
MetaClass metaClass
FilterExpressionNodeCollection nodes
Returns
Type Description
FilterElementCollection

FindBooleanConditionElement(MetaField, FilterElement, ConditionElementCollection)

Finds the boolean condition element.

Declaration
protected ConditionElement FindBooleanConditionElement(MetaField field, FilterElement element, ConditionElementCollection conditions)
Parameters
Type Name Description
MetaField field

The field.

FilterElement element

The element.

ConditionElementCollection conditions

The conditions.

Returns
Type Description
ConditionElement

FindConditionElement(MetaField, FilterElement)

Finds the condition element.

Declaration
protected virtual ConditionElement FindConditionElement(MetaField field, FilterElement element)
Parameters
Type Name Description
MetaField field

The field.

FilterElement element

The element.

Returns
Type Description
ConditionElement

FindDateTimeConditonElement(MetaField, FilterElement, ConditionElementCollection)

Finds the date time conditon element.

Declaration
protected ConditionElement FindDateTimeConditonElement(MetaField field, FilterElement element, ConditionElementCollection conditions)
Parameters
Type Name Description
MetaField field

The field.

FilterElement element

The element.

ConditionElementCollection conditions

The conditions.

Returns
Type Description
ConditionElement

GetElementConditions(MetaField)

Declaration
protected virtual ConditionElementCollection GetElementConditions(MetaField field)
Parameters
Type Name Description
MetaField field
Returns
Type Description
ConditionElementCollection

GetElementConditions(String, FilterExpressionNode)

Declaration
public override ConditionElementCollection GetElementConditions(string expressionPlace, FilterExpressionNode node)
Parameters
Type Name Description
System.String expressionPlace
FilterExpressionNode node
Returns
Type Description
ConditionElementCollection
Overrides

GetElementMethods(String, FilterExpressionNode)

Declaration
public override MethodElementCollection GetElementMethods(string expressionPlace, FilterExpressionNode node)
Parameters
Type Name Description
System.String expressionPlace
FilterExpressionNode node
Returns
Type Description
MethodElementCollection
Overrides

GetMetaFieldName(FilterExpressionNode)

Gets the name of the meta field.

Declaration
protected string GetMetaFieldName(FilterExpressionNode node)
Parameters
Type Name Description
FilterExpressionNode node

The node.

Returns
Type Description
System.String

GetNewElements(String, FilterExpressionNode)

Declaration
public override FilterExpressionNodeCollection GetNewElements(string expressionPlace, FilterExpressionNode parent)
Parameters
Type Name Description
System.String expressionPlace
FilterExpressionNode parent
Returns
Type Description
FilterExpressionNodeCollection
Overrides

GetNodeKey(String)

Gets the node key.

Declaration
protected string GetNodeKey(string fieldName)
Parameters
Type Name Description
System.String fieldName

Name of the field.

Returns
Type Description
System.String

LoadFilters(String, String)

Declaration
public override FilterExpressionNodeCollection LoadFilters(string expressionPlace, string expressionKey)
Parameters
Type Name Description
System.String expressionPlace
System.String expressionKey
Returns
Type Description
FilterExpressionNodeCollection
Overrides

ReadInnerKeys(String, String, out String, out String, out String)

Declaration
protected void ReadInnerKeys(string expressionPlace, string expressionKey, out string className, out string placeName, out string viewName)
Parameters
Type Name Description
System.String expressionPlace
System.String expressionKey
System.String className
System.String placeName
System.String viewName

SaveFilters(String, String, FilterExpressionNodeCollection)

Declaration
public override void SaveFilters(string expressionPlace, string expressionKey, FilterExpressionNodeCollection filters)
Parameters
Type Name Description
System.String expressionPlace
System.String expressionKey
FilterExpressionNodeCollection filters
Overrides