Skip to main content

EnsPortal.Dialog.ProductionAddProcess

class EnsPortal.Dialog.ProductionAddProcess extends EnsPortal.Dialog.ProductionAddHost, EnsPortal.Util.PageLinks

Add a new component to a production

Property Inventory

Method Inventory

Parameters

parameter PAGENAME = Add Business Process;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Properties

property isChecked as %ZEN.Datatype.boolean;
For a routing process, whether or not the Auto-Create Rule box is checked
Property methods: isCheckedDisplayToLogical(), isCheckedGet(), isCheckedIsValid(), isCheckedLogicalToDisplay(), isCheckedLogicalToOdbc(), isCheckedLogicalToXSD(), isCheckedNormalize(), isCheckedSet(), isCheckedXSDToLogical()
property isRouter as %ZEN.Datatype.boolean;
For the OTHER tab, whether or not the class selected is a routing engine class
Property methods: isRouterDisplayToLogical(), isRouterGet(), isRouterIsValid(), isRouterLogicalToDisplay(), isRouterLogicalToOdbc(), isRouterLogicalToXSD(), isRouterNormalize(), isRouterSet(), isRouterXSDToLogical()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: Avoid writing out the session cookie if we are in a Studio session.
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
classmethod GetClassName(id As %String) as %String [ ZenMethod ]
Get the class name (in case what's been selected is an alias which is invalid as a class name). If the id is already a class name, that class name will be returned as the return value.
classmethod IsRouterClass(pClass As %String) as %Boolean [ ZenMethod ]
method OnWizardCompletion(pProdId As %String, pForm As %String, pType As %String, pRuleAlias As %String, pRuleClass As %String) as %String [ ZenMethod ]
This method is invoked when the user completes the Wizard pressing "OK". Returns a null string if it succeeds, or an error message otherwise. The last two arguments, pAlias and pClass, are only used if the Business Process has an associated rule, in which case they identify the alias (if any) and class name to use for the rule.
classmethod RouterHasValidationSetting(pClass As %String) as %Boolean [ ZenMethod ]
clientmethod calculateRuleName(hostType) as %String [ Language = javascript ]
clientmethod changeRuleValidation(type) [ Language = javascript ]
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod ondialogFinish(action) as %Boolean [ Language = javascript ]
This callback is called when the user presses the OK button. If this returns false, then the action is canceled.
clientmethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
clientmethod showRuleDetails(field) [ Language = javascript ]
Launch the profile info dialog.
clientmethod toggleRuleCheckbox() [ Language = javascript ]
We only use this for the OTHER tab. The HL7 and X12 routing processes are always router classes.
clientmethod toggleRuleField(tab) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab