Home > Class Reference > ENSLIB namespace > EnsPortal.Rules

EnsPortal.Rules

class EnsPortal.Rules extends EnsPortal.Template.listPage

This is the Rules page of the ZEN application.

Property Inventory

Method Inventory

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." ];
Property methods: msgSelectItemToExportDisplayToLogical(), msgSelectItemToExportGet(), msgSelectItemToExportIsValid(), msgSelectItemToExportLogicalToDisplay(), msgSelectItemToExportLogicalToOdbc(), msgSelectItemToExportNormalize(), msgSelectItemToExportSet()

Methods

method %OnGetPageName() as %String [ Language = objectscript ]
Get the (localized) name of the page.
classmethod CheckValidImportFileExists(pFilename As %String) as %String [ Language = objectscript, ZenMethod ]
method DeleteID(val) as %String [ Language = objectscript, ZenMethod ]
Delete this id on the server
classmethod EnumerateExecute(ByRef qHandle As %Binary, pSuperclass As %String, pFilter As %String = "", QueryMethod As %String, QueryClass As %String) as %Status [ Language = objectscript ]
Override this Method to pass more arguments to the class query
classmethod GetHyperEventResources(pMethod As %String = "") as %String [ Language = objectscript ]
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 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 [ Language = objectscript ]
Get information to display in the ribbon bar.
clientmethod doDelete() [ Language = javascript ]
Delete current id then refresh.
clientmethod doEdit(val) [ Language = javascript ]
Edit current id
clientmethod doNew() [ Language = javascript ]
clientmethod finishExport(filename) [ Language = javascript ]
clientmethod finishImport(filename) [ Language = javascript ]
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
Returning from file select dialog
clientmethod 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

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window