Home > Class Reference > ENSLIB namespace > CSPX.SQLQueryPane


class CSPX.SQLQueryPane extends %CSP.Util.TablePane

(internal) This *was* a deprecated class used by early versions of Ensemble; Now it is a placeholder for a % class that exists in v5.1 of CACHELIB.

Method Inventory


parameter DOMAIN = Ensemble;
Use our own domain for localization
parameter IDCOL;
Name of ID Column if "More Data" link is to be offered ($NextID variable must be supported in CreateResultSet() also)
parameter SHOWSQLINFO = 0;
Should this page display SQL Info
parameter SHOWSTATISTICS = 0;
Should this page display timing stats
parameter TOPCOUNT = 0;
Number to use in SELECT TOP, if any. Use this to affect the SQL query optimizer. Set it substantially larger than MAXROWS if FilterRS() might invalidate some of the rows returned from SQL.
parameter XMLTYPE = EnsSQLQueryPane;
Used to avoid the following error: ERROR #6281: XMLNAME of class CSPX.SQLQueryPane must be able to differentiate child classes of %CSP.Util.Pane.


method DrawBODY(pInstance As %CSP.Util.PageInstance) as %Status [ Language = objectscript ]
Draw the BODY of the detail pane
method DrawHEAD(pInstance As %CSP.Util.PageInstance) as %Status [ Language = objectscript ]
Inherited description: Overwritten by subclasses to draw anything this pane needs for the HEAD section.
classmethod DrawStatusError(tSC As %String) [ Language = objectscript ]
Generic method to draw error message for object status code.
method ExecuteResultSet(pRS As %ResultSet, ByRef pID As %String) as %Status [ Language = objectscript ]
This method performs the actual execution of the ResultSet This can be overridden by subclasses
method FilterPostRS(pRS As %ResultSet, ByRef pPropVals) as %Boolean [ Language = objectscript ]
Apply additional filter criteria to determine whether to display the current row returned by the ResultSet Return value 1 means display the current row
method GetColorByColumn() as %String [ Language = objectscript ]
Subclass can override this to specify the name of column used to distinctly color rows
method GetColumnWidths(ByRef pWidthArray) as %String [ Language = objectscript ]
Subclass can override this to specify the widths of columns used and the character(s) to wrap on (under pWidthArray(iCol,"breakchars"))
method GetDescriptiveText() [ Language = objectscript ]
Return (localized) text message displayed near top of page. Subclasses may override this.
Subclass can override this to specify hyperlinks for the columns
method GetToolTips(ByRef pValues, ByRef pTips) [ Language = objectscript ]
Subclass can override this to specify tooltips for the columns
Subclass can override this to modify hyperlinks for the columns
method OnDrawHEADTablePane(pInstance As %CSP.Util.PageInstance) as %Status [ Language = objectscript ]
classmethod wrapHTML(val, wrap, widths, i) as %String [ Language = objectscript ]
classmethod wrappedWidth(val) as %Integer [ Language = objectscript ]

Inherited Members

Inherited Properties

Inherited Methods