Skip to main content

EnsPortal.Dialog.ProductionWizard

class EnsPortal.Dialog.ProductionWizard extends EnsPortal.Dialog.standardDialog

Create a new production and add components to it.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter CSSINCLUDES = ensemble/Ensemble_Wizards.css;
Inherited description: Comma-separated list of additional CSS include files for the page. If this page is using CSS3 then the CSS3INCLUDES parameter is used (if defined).
parameter PAGENAME = Create Production;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.
parameter RESOURCE = %Ens_ProductionConfig:WRITE;
User needs WRITE permissions on the %Ens_ProductionConfig resource to view this page.

Properties

property retValue as %ZEN.Datatype.string;
Holder for return value.
Property methods: retValueDisplayToLogical(), retValueGet(), retValueIsValid(), retValueLogicalToDisplay(), retValueLogicalToOdbc(), retValueNormalize(), retValueSet()

Methods

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 ConfigureHL7Production(pName As %String, pProduction As Ens.Config.Production, pPackage As %String) as %Status
classmethod OnWizardCompletion(pPackage As %String, pProdName As %String, pType As %String, pDescription 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.
classmethod ProductionAlreadyExists(prodCls As %String) as %Boolean [ ZenMethod ]
This method returns a value that JavaScript can understand as 1 (true) or 0 (false). /* TODO */
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 validateAll() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab