Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / CSPX.EnsProductionModelPane
Private  Storage   

CSPX.EnsProductionModelPane


Note: This class is no longer used as of Ensemble 2010.2. It is kept here as a place holder to avoid compilation errors in upgrades from earlier versions.
Production Model pane; This is the second step in creating a new production. This page lets the user add inputs/outputs to the production.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 9


Summary


Properties
Align CommandFormClass CommandFormObject CommandSubmitPage
Commands FrameStyle Name Styles
Text URL

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
DeleteProduction DrawBODY DrawCommandForm DrawCommands
DrawHEAD DrawMenuItem DrawProductionMap EscapeHTML
GenerateCode LocalizeText OnGenerateCode OnSubmit
QuoteCOS Submit UpdateProduction XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Parameters


• parameter DOMAIN = "Ensemble";
Use our own domain for localization

Methods


• classmethod DeleteProduction(pProdId)
This method is called from the client; it deletes the specified production.
• 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
Overwritten by subclasses to draw anything this pane needs for the HEAD section.
• method DrawMenuItem(pCaption As %String, pHREF As %String, pHelp As %String, pEnabled As %Boolean = 1)
Draw a menu item
• method DrawProductionMap(pProduction As Ens.Config.Production)
Take a production and create a client map that specifies the business type of each item
• classmethod EscapeHTML(text)
• classmethod OnSubmit(ByRef pID As %String, pSubmit As %String) as %Status
This callback is called when this form is submitted.
• classmethod Submit(pRequest As %CSP.Request, pSubmit As %String) as %Status
Override submit behavior for this page
• classmethod UpdateProduction(pProdId, xml) as %Status
Save changes to model; it is passed the current model (as an XML document) and applies the model to the production.