Home > Class Reference > ENSLIB namespace > CSPX.EnsHostWizardPane

CSPX.EnsHostWizardPane

class CSPX.EnsHostWizardPane extends %CSP.Util.Pane

Create new Business Host Wizard page.

Parameters

parameter DOMAIN = Ensemble;
Use our own domain for localization

Methods

classmethod AddNewItem(production As Ens.Config.Production, Output item As Ens.Config.Item, poolSize As %Integer = "") as %Status
Generic method for adding a new host
classmethod AddOperationSettings(clsName As %String, item As Ens.Config.Item) as %Status
classmethod AddServiceSettings(clsName As %String, item As Ens.Config.Item) as %Status
method DrawBODY(pInstance As %CSP.Util.PageInstance) as %Status
Draw the BODY of the wizard pane
method DrawHEAD(pInstance As %CSP.Util.PageInstance) as %Status
Inherited description: Overwritten by subclasses to draw anything this pane needs for the HEAD section.
classmethod EscapeHTML(text)
classmethod IsComponent(pClass As %String) as %Boolean
Given a business process class name, return if it is a component
classmethod ItemAlreadyExists(production As %String, name As %String, class As %String) as %Boolean
This method returns a boolean value that JavaScript can understand as a 1 or 0 value
classmethod OnSubmit(ByRef pID As %String, pSubmit As %String) as %Status
This callback is called when this form is submitted.
method OperationEDI(production As Ens.Config.Production, pEDIType As %String = "HL7")
Display EDI operation tab
method OperationOTHER(production As Ens.Config.Production)
Display Other operation tab
method OperationWORKFLOW(production As Ens.Config.Production)
Display WORKFLOW service tab
method ProcessCOMPONENT(production As Ens.Config.Production)
Display COMPONENT process tab
method ProcessHL7ROUTER(production As Ens.Config.Production)
Display Message Router process tab
method ProcessOTHER(production As Ens.Config.Production)
Display Other process tab
method ProcessX12ROUTER(production As Ens.Config.Production)
Display Message Router process tab
classmethod RuleAlreadyExists(package As %String, name As %String) as %Boolean
This method returns a boolean value that JavaScript can understand as a 1 or 0 value
method ServiceEDI(production As Ens.Config.Production, pEDIType As %String)
Display HL7 or X12 service tab
method ServiceMETRIC(production As Ens.Config.Production)
Display METRIC service tab
method ServiceOTHER(production As Ens.Config.Production)
Display Other service tab
classmethod ShowAddHostForm(production As Ens.Config.Production, item As Ens.Config.Item, pHostType As %String, pHostName As %String, pSubtype As %String = "")
This is used to show the OTHER tab for various host types. This was copied from EnsConfigProperty.
classmethod ShowCheck(pHelp As %String = "", pLabel As %String = "", pStyle As %String = "", pName As %String = "", pValue As %Boolean = 0, onClick As %String = "")
Show a user entry field in the form. pHelp is the hint (hover text) for the field, pLabel is the label text for the field, pStyle is the value, pName is the value, pValue is the value, onClick is any JavaScript expression you want to execute in addition to the usual setting of the on/off value.
classmethod ShowCombo(pHelp As %String = "", pLabel As %String = "", pStyle As %String = "", pName As %String = "", pValue As %String = "", pRS As %ResultSet, pField As %String = "", pPrefix As %String = "")
Show a user entry field that also provides a read-only drop-down list for the user's reference. pHelp is the hint (hover text) for the field, pLabel is the label text for the field, pStyle is the value, pName is the value, pValue is the value, pRS is the result set that produces the drop-down list (you must have this result set already prepared, usually by issuing a class query), pField is the name of the (single) field of interest in this result set

pPrefix is a text prefix to prepend to pName to make the value for the text field, so that it will be unique in all variants of the form in the generated JavaScript. JavaScript functions need the to update the field programmatically.

classmethod ShowCommon(production As Ens.Config.Production, item As Ens.Config.Item, style As %String, host As %String = "", sub As %String = "")
Display the settings that all hosts have. style is the style parameter from the caller, which may be "ok" or "error".
classmethod ShowEDIForm(production As Ens.Config.Production, item As Ens.Config.Item, pHostType As %String, pHostName As %String, pEDIType As %String = "HL7")
classmethod ShowEDIFormAdapterSettings(pEDIType As %String, pStyle As %String)