Home > Class Reference > ENSLIB namespace > %CSP.UI.SQL.ViewPane

%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 (Including Private)

Methods (Including Private)

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 (Including Private)

Inherited Methods (Including Private)