This page is used to display RuleLog entries logged in Ensemble 2010.2 and earlier.
User needs USE permissions on the %Ens_Purge resource to start a purge from this page. parameter PAGENAME = "Legacy Rule Log";
Displayed name of this page. parameter RESOURCE = "%Ens_RuleLog:USE";
User needs USE permissions on the %Ens_RuleLog resource to view this page.
Value to indicate the percentage of the horizontal screen which should be devoted to the details panel (if it is visible). This is exposed as a client-side property for the layout code to use the value. property msgDays as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Days") ]; property pageNumberId as %ZEN.Datatype.id [ InitialExpression = "pageTotal" ];
Id of the page number field property pageSizeId as %ZEN.Datatype.id [ InitialExpression = "MaxRows" ];
Id of the page size field property resultsTableId as %ZEN.Datatype.id [ InitialExpression = "table" ];
Id of the results tablePane
This callback is called after the server-side page object and all of its children are created. method %OnGetPageName() as %String
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
Get the (localized) name of the page. method %OnGetTitle() as %String
Get the (localized) title string for the page. classmethod BreakUpReturnText(pText As %String) as %String [ ZenMethod ]
Strategically insert spaces or carriage return line feed as needed to keep the return text inside the boundaries of the display. method CreateDataSet(pSeed As %String) as %Status
Server-side callback to provide data for the details table method CreateResultSet(Output pSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
Callback used to construct the query for the current page based on the values in searchCriteria. The custom resultset creation is required to ensure that optimised queries are used to retrieve results. classmethod DoPurge(keep As %Integer) as %String [ ZenMethod ]
Write out the formatted TimeExecuted value along with the unformatted value inside a custom "timeexecuted" tag. method DrawYesNo(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) as %Status
Draw Yes or No in place of 1 or 0 method GetAndUseDefaults() as %String
Method called from %OnAfterCreatePage to get defaults and build up the initial display 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 GiveAdviceString(pSeed As %String) as %Status
Server-side callback to provide localized string introducing the details table 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. classmethod SaveDefaults(SortOrder, TimeFormat, Defaults, MaxRows, States, AutoRefresh) [ ZenMethod ]
fields so user can hit Enter to indicate that an entry in the field is done and ready to use
Helper method to record the ExecutionId and TimeExecuted values for first and last rows on the current page.