%DeepSee.Model.KPI.filter
Class %DeepSee.Model.KPI.filter Extends node [ System = 3 ]
Meta-data for a filter within a DeepSee KPI.
Properties
kpi
Relationship kpi As %DeepSee.Model.KPI.kpi(XMLPROJECTION = "none") [ Cardinality = one, Inverse = filters ];
KPI that this property belongs to.
filterProperty
Property filterProperty As %String(MAXLEN = 100, XMLPROJECTION = "attribute");
Logical name of the property controlled by this filter.
defaultValue
Property defaultValue As %String(MAXLEN = 1000, XMLPROJECTION = "attribute");
Default value to apply to this filter.
sql
Property sql As %String(MAXLEN = 2000, XMLPROJECTION = "attribute");
Optional. SQL query executed to get list of possible values for this filter. The first query column provides the value for the filter member. The second query column provides the display name for the filter member. If there is only one column, it is provides both value and display name. This is ignored if valueList is defined.
valueList
Property valueList As %String(MAXLEN = 1000, XMLPROJECTION = "attribute");
Optional. List of possible values for this filter.
displayList
Property displayList As %String(MAXLEN = 1000, XMLPROJECTION = "attribute");
Optional. List of possible display values for this filter.
multiSelect
Property multiSelect As %Boolean(XMLPROJECTION = "attribute") [ InitialExpression = 1 ];
Optional. If true (the default) let the user select multiple values for this filter.
dependsOn
Property dependsOn As %String(XMLPROJECTION = "attribute");
Optional. If defined, this is the logical name of the controlling filter on which this filter depends. In this case, the set of possible values for this filter will depend on the current value of the controlling filter.
searchType
Property searchType As %String(VALUELIST = ",day", XMLPROJECTION = "attribute");
Optional. If defined, this specified how this filter should be display by the DeepSee searchBox control.
Methods
%Validate
Method %Validate() As %Status
Test if this filter's definition is valid.