Home > Class Reference > ENSLIB namespace > EnsPortal.Dialog.BusinessRuleSave

EnsPortal.Dialog.BusinessRuleSave

class EnsPortal.Dialog.BusinessRuleSave extends EnsPortal.Dialog.standardDialog

This dialog lets the user save a Business Rule.

Property Inventory (Including Private)

Method Inventory (Including Private)

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 (Including Private)

property aliasName as %ZEN.Datatype.string (ZENURL = "ALIAS");
Property methods: aliasNameDisplayToLogical(), aliasNameGet(), aliasNameIsValid(), aliasNameLogicalToDisplay(), aliasNameLogicalToOdbc(), aliasNameNormalize(), aliasNameSet()
property ruleName as %ZEN.Datatype.string (ZENURL = "RULE");
(full) rule name.
Property methods: ruleNameDisplayToLogical(), ruleNameGet(), ruleNameIsValid(), ruleNameLogicalToDisplay(), ruleNameLogicalToOdbc(), ruleNameNormalize(), ruleNameSet()

Methods (Including Private)

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 IsAliasOkay(pName As %String, pAlias) as %String [ ZenMethod ]
Test if the alias conflicts with that of another Business Rule
classmethod IsNameReadOnly(pName As %String) as %Boolean [ ZenMethod ]
classmethod IsNameUnique(pName As %String) as %Boolean [ ZenMethod ]
Test if the given name is unique.
classmethod IsNameValid(pName As %String) as %Boolean [ ZenMethod ]
Test if the given business rule name is valid.
classmethod IsRuleClass(pName As %String) as %Boolean [ ZenMethod ]
Test if class name is that of an existing business rule
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, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)