Home > Class Reference > ENSLIB namespace > %SQL.Manager.Wizard.Util

%SQL.Manager.Wizard.Util

class %SQL.Manager.Wizard.Util extends %Library.RegisteredObject

SQL Manager CSP Wizard Utility Methods

Method Inventory

Methods

classmethod CancelButton() [ Language = objectscript ]
Write out generic Cancel button
classmethod ChangeNamespace(Namespace As %String) as %String [ Language = objectscript ]
Change namespace if the current namespace is not the desired namespace
classmethod DisplayTextFile(FileName As %String) [ Language = objectscript ]
Display A TEXT file
classmethod ExitButton() [ Language = objectscript ]
Write out generic Cancel button
classmethod NextButton() [ Language = objectscript ]
Write out generic Cancel button
classmethod PreviousButton() [ Language = objectscript ]
Go back to the previous page
classmethod listDSN(pagename As %String, Wizard As %String, Namespace As %String, Page As %Integer = 2) [ Language = objectscript ]
Set up DSN names for Link Table, Link Procedure and Data Migration Wizards
classmethod listExtSchemas(pagename As %String, Wizard As %String, Namespace As %String, dsnname As %String, Page As %Integer) [ Language = objectscript ]
list schemas based on cache gateway connection - you must have a DSN (configuration name) passed in.
classmethod listExtTables(pagename As %String, Wizard As %String, Namespace As %String, dsnname As %String, schemaname As %String, Page As %Integer) [ Language = objectscript ]
List SQL Gateway tables given by Namespace and DSN (configuration name)
Input: pagename by value (this is used for building links)
Input: Wizard by value ("LinkTable", "LinkProcedure", or "DataMigration")
Input: Namespace by value (current connected Namespace)
Input: dsnname by value (DSN connected)
Input: schemaname by value (schema selected from DSN)
Input: Page by value (page number) list external tables based on cache gateway connection - you must have a DSN (configuration name) passed in.
classmethod listProperties(Namespace As %String, SchemaName As %String, TableName As %String, ByRef properties As %String) as %String [ Language = objectscript ]
This is the normal (not SQL Gateway) properties for a table
Input: Namespace by value
Input: SchemaName by value
Input: TableName by value
Output: array properties by reference
Return: longest property name
classmethod listSchemas(Namespace As %String, ByRef schemas As %String) [ Language = objectscript ]
This is the normal schemas for a given Namespace, not SQL Gateway.
Input: Namespace by value
Output: array schems by reference
classmethod listTables(Namespace As %String, SchemaName As %String, ByRef tables As %String) as %Status [ Language = objectscript ]
This is the normal tables given by Namespace and Schema
Input: Namespace by value
Input: SchemaName by value
Output: array schems by reference

Inherited Members

Inherited Methods

FeedbackOpens in a new window