Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%CSP] >  [Util] >  [Condition]
Private  Storage   

serial class %CSP.Util.Condition extends %SerialObject, %XML.Adaptor

This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Defines a color-condition for a CSPX Table Pane.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 3


Summary

Properties
CellStyle ColumnName Predicate RowStyle TargetColumn
Value

Methods
%%OIDGet %AddToSaveSet %AddToSyncSet %BindExport
%BuildObjectGraph %ClassIsLatestVersion %ClassName %Close
%ConstructClone %Delete %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%GetSwizzleObject %IncrementCount %IsA %IsModified
%IsNull %JournalObject %New %NormalizeObject
%ObjectIsNull %ObjectModified %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%RemoveFromSaveSet %ResolveConcurrencyConflict %SerializeObject %SetModified
%SyncObjectIn %SyncTransport %ValidateObject %XMLGenerate
Eval Eval2 GenerateCode LogicalToOdbc
OdbcToLogical XMLAfterExport XMLBeforeExport XMLDTD
XMLExport XMLExportInternal XMLExportToStream XMLExportToString
XMLGetSchemaImports XMLImport XMLImportInternal XMLIsObjectEmpty
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property CellStyle as %String(MAXLEN=200);
Style to apply to cell if condition is true.
This is a CSS style string: e.g., "color: red;"
• property ColumnName as %String(MAXLEN=50);
Name of column condition applies to
• property Predicate as %String(VALUELIST=",GT,EQ,LT,NEQ,GTEQ,LTEQ,EXTEQ,STARTWITH,NEQAND") [ InitialExpression = "EQ" ];
Comparison predicate applied to column value
• property RowStyle as %String(MAXLEN=200);
Style to apply to row if condition is true.
This is a CSS style string: e.g., "color: red;"
• property TargetColumn as %String(MAXLEN=50);
Name of column condition to apply CellStyle to; use ColumnName if this is null.
• property Value as %String(MAXLEN=100);
Literal value compared against column value
Note: if value is enclosed in {}, then it is a column name...

Methods

• method Eval(pRS As %ResultSet) as %Boolean
Evaluate this condition using the values in the provided ResultSet. Deprecated: use Eval2
• method Eval2(ByRef pIndex As %String, ByRef pValues As %String) as %Boolean
Evaluate this condition using the values in the provided row arrays.
• method GenerateCode() as %String
Utility method to generate code for this object


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.