class %DeepSee.Report.Utils
extends %RegisteredObject
This class contains various utility methods
used by the DeepSee report classes.
parameter DOMAIN = "%DeepSee";
classmethod %GetClassNameForReport(pReportName As %String)
as %String
Given the name of a report, see if it exists and if so return the name of the
class that implements it.
classmethod %OpenReportModel(pReportName As %String, Output pModel As %DeepSee.Report.Model.Report)
as %Status
Given the name of a DeepSee report, open an instance
of the report model that created it.
classmethod %XMLName(pValue As %String)
as %String
Convert pValue to a valid XML element or attribute name.
classmethod CalcSQL(pModel As %DeepSee.Report.Model.Report, pGroupoid, ByRef pSQL As %String)
as %Status
A groupoid can be a model or a group.
classmethod DisplayAxes(list, pOutput As %Stream.GlobalCharacter)
classmethod DisplayElements(pGroup, pElements, pOutput As %Stream.GlobalCharacter)
pElements is a list
classmethod DisplayGroupDefinition(pModel As %DeepSee.Report.Model.Report, pGroup, ByRef pFields, ByRef pAttr, ByRef pAggr, ByRef pGroups, ByRef pParams, pOutput As %Stream.GlobalCharacter, ByRef pSeen)
classmethod DisplayStyle(pEl As %DeepSee.Report.Model.Stylable, pOutput As %Stream.GlobalCharacter)
classmethod ProcessElements(pGroup, pElements, ByRef pFields, ByRef pAttr, ByRef pAggr, ByRef pGroups, ByRef pParams)
pElements is a list
classmethod ProcessGroups(pModel As %DeepSee.Report.Model.Report, parent As %DeepSee.Report.Model.Node, list, pOutput As %Stream.GlobalCharacter, ByRef pSeen)
list is a polymorphic list that may include non-groups
parent is Report or Group
classmethod getItemFields(pCollection, ByRef pFields, ByRef pParams)
classmethod getItemGroups(pList, ByRef pFields, ByRef pOrderBy, ByRef pParams)