Class ListViewProfileExpressionProvider
Represents ListViewProfile Filter ExpressionProvider.
Inheritance
System.Object
ListViewProfileExpressionProvider
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0
public class ListViewProfileExpressionProvider : FilterExpressionProvider
Constructors
Declaration
public ListViewProfileExpressionProvider()
Fields
Declaration
protected const string Boolean_IsFalse = "IsFalse"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string Boolean_IsTrue = "IsTrue"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_LastMonth = "LastMonth"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_LastWeek = "LastWeek"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_LastYear = "LastYear"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_ThisMonth = "ThisMonth"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_ThisWeek = "ThisWeek"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_ThisYear = "ThisYear"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_Today = "Today"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string DateTime_Yesterday = "Yesterday"
Field Value
Type |
Description |
System.String |
|
Methods
Converts the element to node.
Declaration
protected virtual FilterExpressionNode ConvertElementToNode(MetaClass metaClass, FilterElement element)
Parameters
Returns
Converts the element to node.
Declaration
protected virtual FilterExpressionNodeCollection ConvertElementToNode(MetaClass metaClass, FilterElementCollection elements)
Parameters
Returns
Declaration
protected virtual FilterElement ConvertNodeToElement(MetaClass metaClass, FilterExpressionNode node)
Parameters
Returns
Declaration
protected virtual FilterElementCollection ConvertNodeToElement(MetaClass metaClass, FilterExpressionNodeCollection nodes)
Parameters
Returns
Finds the boolean condition element.
Declaration
protected ConditionElement FindBooleanConditionElement(MetaField field, FilterElement element, ConditionElementCollection conditions)
Parameters
Returns
Finds the condition element.
Declaration
protected virtual ConditionElement FindConditionElement(MetaField field, FilterElement element)
Parameters
Returns
Finds the date time conditon element.
Declaration
protected ConditionElement FindDateTimeConditonElement(MetaField field, FilterElement element, ConditionElementCollection conditions)
Parameters
Returns
Declaration
protected virtual ConditionElementCollection GetElementConditions(MetaField field)
Parameters
Returns
Declaration
public override ConditionElementCollection GetElementConditions(string expressionPlace, FilterExpressionNode node)
Parameters
Returns
Overrides
Declaration
public override MethodElementCollection GetElementMethods(string expressionPlace, FilterExpressionNode node)
Parameters
Returns
Overrides
Gets the name of the meta field.
Declaration
protected string GetMetaFieldName(FilterExpressionNode node)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
public override FilterExpressionNodeCollection GetNewElements(string expressionPlace, FilterExpressionNode parent)
Parameters
Returns
Overrides
Declaration
protected string GetNodeKey(string fieldName)
Parameters
Type |
Name |
Description |
System.String |
fieldName |
Name of the field.
|
Returns
Type |
Description |
System.String |
|
Declaration
public override FilterExpressionNodeCollection LoadFilters(string expressionPlace, string expressionKey)
Parameters
Type |
Name |
Description |
System.String |
expressionPlace |
|
System.String |
expressionKey |
|
Returns
Overrides
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 |
|
Declaration
public override void SaveFilters(string expressionPlace, string expressionKey, FilterExpressionNodeCollection filters)
Parameters
Overrides