EnsPortal.Dialog.BusinessRuleWizard

class EnsPortal.Dialog.BusinessRuleWizard extends EnsPortal.Dialog.standardDialog

This dialog lets the user create a new Business Rule.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter RESOURCE = %Ens_Code:WRITE,%Ens_Rules:WRITE,%Ens_RoutingRules:WRITE,%Ens_BusinessRules:WRITE;
User needs WRITE permissions on one of the following resources to view this page: %Ens_Code, %Ens_Rules, %Ens_RoutingRules or %Ens_BusinessRules

Properties

property RULE as %ZEN.Datatype.string (ZENURL = "RULE");
Default rule name to be used.
Property methods: RULEDisplayToLogical(), RULEGet(), RULEIsValid(), RULELogicalToDisplay(), RULELogicalToOdbc(), RULENormalize(), RULESet()
property retValue as %ZEN.Datatype.string;
Holder for return value.
Property methods: retValueDisplayToLogical(), retValueGet(), retValueIsValid(), retValueLogicalToDisplay(), retValueLogicalToOdbc(), retValueNormalize(), retValueSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: Avoid writing out the session cookie if we are in a Studio session.
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 CreateRuleClass(pAlias As %String, pClassName As %String, pDescription As %String = "", pAssistClass As %String = "", pContextClass As %String = "") as %String [ ZenMethod ]
Create a new BP class. Return "" if ok otherwise an error message.
method GetContextClass(pClass As %String) as %String [ ZenMethod ]
classmethod GetRuleAssistList() as %String [ ZenMethod ]
classmethod IsNameUnique(pName As %String, isAlias As %Boolean = 0) as %Boolean
Test if the given name is unique
classmethod IsNameValid(pName As %String) as %Boolean
Test if the given name is valid.
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 onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
clientmethod ondialogFinish(action) as %Boolean [ 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.
clientmethod ruleTypeChanged() [ Language = javascript ]
clientmethod selectContextClass() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

Feedback