Skip to main content

%CSP.UI.System.ExportPane

class %CSP.UI.System.ExportPane extends %CSP.Util.ExpPane

This class is used internally by Caché. 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.

This pane handles displaying, selecting, and exporting classes/routines/globals.

Method Inventory

Methods

method CreateResultSet(ByRef pRS As %ResultSet) as %Status
Create resultset for Export
method DrawBODY(pInstance As PageInstance) as %Status
Overwritten by subclasses to draw anything this pane needs for the BODY section.
method DrawButtons(ColMax As %Integer)
method DrawParameters()
Draw specific parameters for Classes/Routines/Globals
method DrawResult(FileName, Charset) as %Status
Charset passed in is the internal charset name, e.g. Unicode,UTF8,RAW,CP1250...,Latin2,Latin9,LatinC,LatinG,LatinH,LatinT
method DrawTable(ByRef pRS As %String)
method ExecuteResultSet(pRS As %ResultSet, SEARCHMASK As %String) as %Status
Execute query for Export
classmethod Export(FileName As %String, ExportFormat As %String, ByRef pParms As %String, ByRef tItems As %String) as %Status
Method to Export in the background
classmethod FileExists(filename)
Check to see if file exists
method GetDate(pDate) as %String
Return date in $H format. If invalid date is passed in, return 0.
classmethod GetExpExt(ExportFormat As %String, FileName As %String) as %String
Validate export extension. Append correct extension if not valid.
classmethod LogMsg(ErrMsg As %String = "", Status As %String = "ERROR")
Log error into ^|"%SYS"|CacheTemp.MgtPortalTask($J,"Status") and ^|"%SYS"|CacheTemp.MgtPortalTask($J,"Details")

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab