Skip to main content

%CSP.UI.SQL.ViewPane

class %CSP.UI.SQL.ViewPane extends %CSP.Util.Pane

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.

Create and edit a view.

Method Inventory

Methods

method DrawBODY(pInstance As PageInstance) as %Status
Overwritten by subclasses to draw anything this pane needs for the BODY section.
method DrawHEAD(pInstance As PageInstance) as %Status
Overwritten by subclasses to draw anything this pane needs for the HEAD section.
method GetStreamText(ViewText, IsError As %Boolean = 0) as %String
ViewText as a stream object is passed in. Rebuild view text from it. If it errored, then return error message.
classmethod GetViewInfo2(Schema As %String, ViewName As %String, Output Owner As %String, Output ReadOnly As %Boolean, Output CheckOption As %String) as %Status
Given schema name and view name, return view info
classmethod GetViewText(Schema As %String, ViewName As %String) as %String
Return View Text for new view (from cached query) or existing view. Need to change namespace to the selected namespace to get the query text then return to %cachelib because you are in a FORM creation.
method SaveForm(NAMESPACE As %String, Schema As %String, ViewName As %String, Owner As %String, ReadOnly As %String, CheckOption As %String, ViewText As %String) as %String
Process saving the view

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab