Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [EnsPortal] >  [Rules]
Private  Storage   

class EnsPortal.Rules extends EnsPortal.Template.listPage, EnsPortal.Template.scUtils, EnsPortal.Util.PageLinks

This is the Rules page of the ZEN application.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 1 14 1


Summary

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

Properties
%condition %import %includeFiles %page
%resource HelpAddress ISREADONLY LocatorHeader
ParentURL StdTitle aboutPage align
aux backgroundTimerInterval canEdit canViewFileSystem
cellAlign cellSize cellStyle cellVAlign
children composite contactPage containerStyle
cssLevel currSortMode currStep currViewMode
disabled dragAndDrop dragEnabled dropEnabled
enableAutoRefresh enclosingClass enclosingStyle error
groupClass groupStyle height hidden
hint hintClass hintStyle home
homePage id index keepAliveInterval
label labelClass labelDisabledClass labelPosition
labelStyle layout lblTitle limitPopups
msgNotPermitted msgSelectItemToExport name onafterdrag
onbeforedrag onclick ondrag ondrop
onhide onrefresh onshow onupdate
pageModified parent ruleEditorBaseURL searchKey
showLabel showRefresh slice title
tuple useSVG useSoftModals valign
visible width window zenPersistentPopup

Methods
%AddCSPShareHyperevents %AddChild %AddChildAfter %AddChildBefore
%AddComponent %AddEnsExceptionHandler %AddImportedComponents %AddLocatorLinks
%AddToSaveSet %ApplyURLParms %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions
%DrawComponentHTML %DrawHTML %DrawHTMLPage %DrawJSStrings
%DrawObjectDefinitions %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetHomePage %GetHomeParam %GetLinks
%GetLocatorLinks %GetPageName %GetParameter %GetProductName
%GetRootLink %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 %OnGetPageName %OnGetProductName
%OnGetSmallMenu %OnGetTitle %OnMonitorBackgroundTask %OnMutateChildren
%OnObjectSynch %OnPreHTTP %OnSubmit %OnUseSoftModals
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %Register %RemoveChild %RemoveChildren
%RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod %Self
%SerializeObject %SetBackgroundMethodStatus %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %ValidateObject %ZENVersion BuildMenu
CheckAllBlanks CheckContextLinks CheckEnterpriseManager CheckValidImportFileExists
ConvertParameter Decrypt DoLogout DrawLocator
DrawRibbon DrawTitle Encrypt EnumerateClose
EnumerateExecute EnumerateFetch EscapeHTML EscapeURL
EvalResult Export FileExists GetCSPURL
GetContextLinks GetDefaultDir GetDefaultFile GetDocURL
GetHomePage GetHyperEventResources GetNewURL GetQuickLinks
HyperEventCall HyperEventHead Import Include
InsertHiddenField InsertHiddenFields IsPrivate JavaInstalled
Link MakeLink OnDrawRibbon OnGetRibbonInfo
OnHTTPHeader OnPage OnPageError OnPostHTTP
OnPostHyperEvent OnPreHTTP OnPreHyperEvent Page
QuoteJS RegisterRecent RewriteURL SetDefaultDir
ShowError SimpleKeepAlive StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore addPopupSuffix arrowClick
cancelPopup changePassword changeRefresh changeURLNamespace
checkEdit childrenMutated clientKeepAlive correctIELayering
createComponent createComponentNS createTimeWarning deleteComponent
disableCommandButton displayCountDown doDelete doEdit
doExport doImport doNew doRefresh
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler enableCommandButton endModal
exposeComponent findElement finishExport finishImport
fireOnResizeEvent fireOnUnloadEvent fireOnUpdateEvent firePopupAction
getChildIndex getComponent getComponentById getEnclosingDiv
getHidden getHintElement getLabelElement getOpener
getPageTitle getProperty getSettings getTitleAreaHeight
getType goHome goMenu gotoNamespace
gotoPage hideCommandButton hideTimeoutWarning hideWarnContinue
inResizeLoop initPopupSuffix invokeSuper isOfType
launchPopupWindow logout makeId manualKeepAlive
navigate onCreate onDelete onDisplayHandler
onEndModalHandler onPopupAction onRefreshContents onSerialize
onServerMethodCall onServerMethodError onServerMethodReturn onStartModalHandler
ondisabledHandler onhandleAutoLogoutWarn onkeydownHandler onkeyupHandler
onlayoutHandler onloadHandler onlogoutHandler onoverlayHandler
onresizeHandler onunloadHandler onupdateHandler popupActionHandler
processDeleteReturn refreshContents refreshTimeout removeChild
removePopupSuffix render renderContents renderSVG
searchBlur searchBoxHandler searchFocus searchKeyDown
searchKeyPress setComponentId setConnectivityStatusMsg setHidden
setModified setOverlayMode setPageTitle setProperty
setPropertyAll setSortMode setSortModeHandler setTraceOption
setViewMode setViewModeHandler setWarnInnerHTML showAbout
showCommandButton showContact showDocumentation showHelp
showTimeoutWarning startKeepAlive startModal startProgressBar
stopKeepAlive stopProgressBar switchNamespace warnclickListener


Parameters

• parameter EDITRESOURCE = "%Ens_Code:WRITE,%Ens_Rules:WRITE,%Ens_RoutingRules:WRITE,%Ens_BusinessRules:WRITE";
User needs WRITE permissions on one of the following resources to make changes on this page: %Ens_Code, %Ens_Rules, %Ens_RoutingRules or %Ens_BusinessRules.
• parameter PAGENAME = "Business Rule List";
Displayed name of this page.
• parameter RESOURCE = "%Ens_Code:READ,%Ens_Rules:READ,%Ens_RoutingRules:READ,%Ens_BusinessRules:READ";
User needs READ permissions on one of the following resources to view this page: %Ens_Code, %Ens_Rules, %Ens_RoutingRules or %Ens_BusinessRules.

Properties

• property msgSelectItemToExport as %String [ InitialExpression = "Please select a business rule to export." ];

Methods

• method %OnGetPageName() as %String
Get the (localized) name of the page.
• classmethod CheckValidImportFileExists(pFilename As %String) as %String [ ZenMethod ]
• classmethod EnumerateExecute(ByRef qHandle As %Binary, pSuperclass As %String, pFilter As %String = "", QueryMethod As %String, QueryClass As %String) as %Status
Override this Method to pass more arguments to the class query
• classmethod GetHyperEventResources(pMethod As %String = "") as %String
Callback to return a list of resources required for a specific HyperEvent. The user must have sufficient privileges on one of the resource/permission pairs to be permitted to execute the hyperevent. An empty string implies the user already has sufficient privileges for the ZenMethod specified in pMethod.
• method MakeLink(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) as %Status
• method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status
Get information to display in the ribbon bar.
• method doDelete() [ Language = javascript ]
Delete current id then refresh.
• method doEdit(val) [ Language = javascript ]
Edit current id
• method doNew() [ Language = javascript ]
• method finishExport(filename) [ Language = javascript ]
• method finishImport(filename) [ Language = javascript ]
• method onPopupAction(popupName, action, value) [ Language = javascript ]
Returning from file select dialog
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded. &&&

Queries

• query Enumerate(pSuperclass As %String, Filter As %String = "", QueryMethod As %String, QueryClass As %String)
Selects Name As %String, Modified As %TimeStamp
Class query with filter added. Override this in order to add rowspec specific to the list being displayed


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