Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [EnsPortal] >  [ConstraintEditor]
Private  Storage   

class EnsPortal.ConstraintEditor extends EnsPortal.Dialog.standardDialog

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 3 31


Summary

This is a Zen Page class. It belongs to the application EnsPortal.Application.

Properties
%condition %import %includeFiles %page
%resource ASSIST PROD align
aux backgroundTimerInterval canEdit cellAlign
cellSize cellStyle cellVAlign children
closeOnEnter closeOnEsc composite containerStyle
cssLevel dialogTitle disabled disabledStyle
dragAndDrop dragEnabled dropEnabled enclosingClass
enclosingStyle error groupClass groupStyle
hasButtons height hidden hideApplyButton
hideCancelButton hideOKButton hint hintClass
hintStyle id index keepAliveInterval
label labelClass labelDisabledClass labelPosition
labelStyle layout msgNotPermitted name
onafterdrag onbeforedrag onclick ondrag
ondrop onhide onrefresh onshow
onupdate parent readOnly showLabel
slice studioMode title tuple
useSVG useSoftModals valign visible
width window zenPersistentPopup

Methods
%AddCSPShareHyperevents %AddChild %AddChildAfter %AddChildBefore
%AddComponent %AddEnsExceptionHandler %AddImportedComponents %AddToSaveSet
%ApplyURLParms %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML
%DrawHTML %DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions
%DrawTitle %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetLinks %GetPageName %GetParameter
%GetValueById %GetValueByName %GetXMLName %IsA
%IsModified %Link %LinkCSS %LinkScript
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnAfterCreatePage %OnBeforeCreatePage
%OnCreateApplication %OnCreatePage %OnDetermineCSSLevel %OnDrawEnclosingDiv
%OnDrawHTMLBody %OnDrawHTMLHead %OnDrawHTMLMeta %OnDrawObjectProperties
%OnFinishBackgroundTask %OnGetSubtitle %OnGetTitle %OnMonitorBackgroundTask
%OnMutateChildren %OnObjectSynch %OnPreHTTP %OnSubmit
%OnUseSoftModals %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveChild %RemoveChildren
%RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod %Self
%SerializeObject %SetBackgroundMethodStatus %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %ValidateObject %ZENVersion ConvertParameter
Decrypt Encrypt EscapeHTML EscapeURL
GetHyperEventResources HyperEventCall HyperEventHead Include
InsertHiddenField InsertHiddenFields IsPrivate Link
OnHTTPHeader OnPage OnPageError OnPostHTTP
OnPostHyperEvent OnPreHTTP OnPreHyperEvent Page
QuoteJS RewriteURL ServerGetMetaData ServerGetQueryData
ShowError SimpleKeepAlive StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore addLineToTextarea addPopupSuffix
adjustSize btnApply btnOK buttonClicked
cancelPopup checkEdit childrenMutated clientKeepAlive
comboSelectChanged comboTextChanged correctIELayering createComboControl
createComponent createComponentNS createListControl createTextControl
ctrlKeyDown deleteComponent dialogApply dialogCancel
dialogFinish dialogTitleGet disableButtons dragFinishHandler
dragHandler dragNotifyHandler dragStartHandler dropHandler
dropStartHandler endModal exposeComponent findElement
fireOnResizeEvent fireOnUnloadEvent fireOnUpdateEvent firePopupAction
getChildIndex getComponent getComponentById getControlValue
getDialogValue getEnclosingDiv getHidden getHintElement
getLabelElement getMetaData getOpener getProperty
getQueryData getRuntimeData getSettings getType
gotoPage inResizeLoop initPopupSuffix invokeSuper
isOfType launchPopupWindow makeId onCreate
onDelete onDisplayHandler onEndModalHandler onPopupAction
onRefreshContents onSerialize onServerMethodCall onServerMethodError
onServerMethodReturn onStartModalHandler ondialogCancel ondialogFinish
ondialogStart ondisabledHandler onkeydownHandler onkeyupHandler
onlayoutHandler onloadHandler onlogoutHandler onoverlayHandler
onresizeHandler onunloadHandler onupdateHandler popupActionHandler
refreshContents removeChild removePopupSuffix render
renderContents renderControls renderSVG selectChoiceSelected
setCheckListOptions setComboOptions setComboValue setComponentId
setControlValue setHidden setOverlayMode setProperty
setPropertyAll setTraceOption startKeepAlive startModal
startProgressBar stopKeepAlive stopProgressBar textChanged
toggleCheckBox updateAssistData updateCheckBoxes updateCheckListItem


Parameters

• parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
• parameter EDITRESOURCE = "%Ens_Rules:WRITE,%Ens_RoutingRules:WRITE,%Ens_BusinessRules:WRITE,%Ens_Code:WRITE";
User needs WRITE permissions on one of the following resources to make changes on this page: %Ens_Rules, %Ens_RoutingRules, %Ens_BusinessRules or %Ens_Code
• parameter JSINCLUDES = "zenCSLM.js";
Comma-separated list of additional JS include files for the page.
• parameter RESOURCE = "%Ens_Rules:READ,%Ens_RoutingRules:READ,%Ens_BusinessRules:READ,%Ens_Code:READ";
User needs READ permissions on one of the following resources to view this page: %Ens_Rules, %Ens_RoutingRules, %Ens_BusinessRules or %Ens_Code

Properties

• property ASSIST as %String(MAXLEN="",ZENURL="ASSIST");
the assist class name
• property PROD as %String(ZENURL="PROD");
The name of the default production name
• property readOnly as %ZEN.Datatype.boolean(ZENURL="READONLY") [ InitialExpression = 0 ];
Flag to indicate whether the main rule is open in ReadOnly mode, which should also apply here.

Methods

• 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 dialog. This should be implemented in a subclass.
• classmethod ServerGetMetaData(pClassname As %String) as %String [ ZenMethod ]
• classmethod ServerGetQueryData(pClassname As %String, pProxy As %ZEN.proxyObject, pParam As %String) as %String [ ZenMethod ]
• method addLineToTextarea(object, line) [ Language = javascript ]
• method buttonClicked(object) [ Language = javascript ]
• method comboSelectChanged(object) [ Language = javascript ]
• method comboTextChanged(object) [ Language = javascript ]
• method createComboControl(html, name, label, queryParam) [ Language = javascript ]
• method createListControl(html, name, label, queryType, queryParam) [ Language = javascript ]
• method createTextControl(html, name, label) [ Language = javascript ]
• method getControlValue(name) [ Language = javascript ]
• method getDialogValue() [ Language = javascript ]
Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
• method getMetaData() [ Language = javascript ]
• method getQueryData(param) [ Language = javascript ]
• method getRuntimeData() [ Language = javascript ]
• method onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
• method ondialogFinish(action) [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.
• method ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
• method onresizeHandler() [ Language = javascript ]
This client event, if present, is fired when the page is resized.
• method renderControls(htmlContent) [ Language = javascript ]
• method selectChoiceSelected(object) [ Language = javascript ]
• method setCheckListOptions(div, options) [ Language = javascript ]
• method setComboOptions(combo, options) [ Language = javascript ]
• method setComboValue(combo, value) [ Language = javascript ]
• method setControlValue(name, value) [ Language = javascript ]
• method textChanged(object) [ Language = javascript ]
• method toggleCheckBox(checkboxID, name, evt, isDoubleClick) [ Language = javascript ]
• method updateAssistData() [ Language = javascript ]
• method updateCheckBoxes(name, newValue) [ Language = javascript ]
• method updateCheckListItem(name, value, checked, evt, isDoubleClick) [ Language = javascript ]


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.