EnsPortal.Queues
class EnsPortal.Queues extends EnsPortal.Template.standardPage
This is the Queues page of the ZEN application.Property Inventory
- MsgID
- Queue
- detailsHidden
- msgViewTrace
- queueCount
- securityHelper
- selectedActiveMessages
- selectedMessages
- selectedTable
Method Inventory
- %GetLocatorLinks()
- %OnAfterCreatePage()
- %OnGetPageName()
- %OnGetTitle()
- AbortAllMessages()
- AbortJobMsg()
- AbortMessage()
- DrawBodyInfo()
- DrawCountCell()
- DrawDetailsContent()
- DrawFullContentLinks()
- EnumerateActiveMessageClose()
- EnumerateActiveMessageExecute()
- EnumerateActiveMessageFetch()
- EnumerateQueueContentsClose()
- EnumerateQueueContentsExecute()
- EnumerateQueueContentsFetch()
- EnumerateQueuesClose()
- EnumerateQueuesExecute()
- EnumerateQueuesFetch()
- GetHyperEventResources()
- GetQueueCount()
- GetSecurityHelper()
- MessagePriorityToText()
- OnDrawRibbon()
- OnGetRibbonInfo()
- SuspendJobMsg()
- changeRefreshContents()
- changeRefreshQueues()
- checkHelper()
- doAbort()
- doAbortAll()
- drawDetails()
- filterChanged()
- hideItem()
- jobAbortMsg()
- jobSuspendMsg()
- layoutMessagesGroup()
- layoutTabGroup()
- onTabChange()
- onTraceSVGLoad()
- onlayoutHandler()
- onloadHandler()
- refreshAll()
- refreshContentsTimeout()
- refreshMessages()
- refreshQueuesTimeout()
- reselectActiveMessages()
- reselectMessages()
- scaleSVGTrace()
- selectItem()
- selectQueue()
- setResultsCount()
- showContentTables()
- showFullContent()
- showItem()
- showTrace()
- updateActiveMessageTable()
- updateQueuedMessageTable()
- updateQueuesTable()
- updateSecurityHelper()
Parameters
parameter ABORTRESOURCE = %Ens_Queues:WRITE;
parameter EDITRESOURCE = %Ens_Queues:WRITE,%Ens_Jobs:WRITE,%Ens_MessageSuspend:USE;
User needs WRITE permissions on either the %Ens_Queues or the %Ens_Jobs resource
or USE permissions on %Ens_MessageSuspend to make changes to this page.
parameter JOBSRESOURCE = %Ens_Jobs:WRITE;
parameter PAGENAME = Queues;
Displayed name of this page.
parameter RESOURCE = %Ens_Queues:READ;
User needs READ permissions on the %Ens_Queues resource to access this page.
parameter SUSPENDRESOURCE = %Ens_MessageSuspend:USE;
Properties
property MsgID as %String (ZENURL = "MSGID");
Property methods: MsgIDDisplayToLogical(), MsgIDGet(), MsgIDIsValid(), MsgIDLogicalToDisplay(), MsgIDLogicalToOdbc(), MsgIDNormalize(), MsgIDSet()
property Queue as %String (ZENURL = "QUEUE");
Property methods: QueueDisplayToLogical(), QueueGet(), QueueIsValid(), QueueLogicalToDisplay(), QueueLogicalToOdbc(), QueueNormalize(), QueueSet()
property detailsHidden as %Boolean [ InitialExpression = 1 ];
Property methods: detailsHiddenDisplayToLogical(), detailsHiddenGet(), detailsHiddenIsValid(), detailsHiddenLogicalToDisplay(), detailsHiddenLogicalToXSD(), detailsHiddenNormalize(), detailsHiddenSet(), detailsHiddenXSDToLogical()
property msgViewTrace as %ZEN.Datatype.caption [ InitialExpression = $$$Text("View Full Trace") ];
Property methods: msgViewTraceDisplayToLogical(), msgViewTraceGet(), msgViewTraceIsValid(), msgViewTraceLogicalToDisplay(), msgViewTraceLogicalToOdbc(), msgViewTraceNormalize(), msgViewTraceSet()
property queueCount as array of %Integer;
Property methods: queueCountBuildValueArray(), queueCountCollectionToDisplay(), queueCountCollectionToOdbc(), queueCountDisplayToCollection(), queueCountDisplayToLogical(), queueCountGet(), queueCountGetObject(), queueCountGetObjectId(), queueCountGetSwizzled(), queueCountIsValid(), queueCountLogicalToDisplay(), queueCountNormalize(), queueCountOdbcToCollection(), queueCountSet(), queueCountSetObject(), queueCountSetObjectId(), queueCountXSDToLogical()
property securityHelper as %ZEN.proxyObject;
Zen proxy object to help determine what actions a user may take on the page.
Property methods: securityHelperGet(), securityHelperGetSwizzled(), securityHelperIsValid(), securityHelperNewObject(), securityHelperSet()
property selectedActiveMessages as %String;
Property methods: selectedActiveMessagesDisplayToLogical(), selectedActiveMessagesGet(), selectedActiveMessagesIsValid(), selectedActiveMessagesLogicalToDisplay(), selectedActiveMessagesLogicalToOdbc(), selectedActiveMessagesNormalize(), selectedActiveMessagesSet()
property selectedMessages as %String;
Property methods: selectedMessagesDisplayToLogical(), selectedMessagesGet(), selectedMessagesIsValid(), selectedMessagesLogicalToDisplay(), selectedMessagesLogicalToOdbc(), selectedMessagesNormalize(), selectedMessagesSet()
property selectedTable as %String;
Property methods: selectedTableDisplayToLogical(), selectedTableGet(), selectedTableIsValid(), selectedTableLogicalToDisplay(), selectedTableLogicalToOdbc(), selectedTableNormalize(), selectedTableSet()
Methods
method %GetLocatorLinks(Output pLink) as %Status
Inherited description: Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)
pLink(n)=$LB(caption,link)
method %OnAfterCreatePage() as %Status
Show/hide the toggle buttons
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
method AbortMessage(pIndex As %String, pPriority As %Integer, pQueueName As %String) as %String [ ZenMethod ]
Write out contents of body details panel.
pHeaderID is the message id.
method DrawCountCell(table As %ZEN.Component.tablePane, name As %ZEN.Datatype.string, seed As %ZEN.Datatype.string) as %Status
Write out contents of details panel.
pID is the message id.
Write out the links to show the full contents of a message.
classmethod EnumerateActiveMessageExecute(ByRef qHandle As %Binary, pHostName As %String = "") as %Status
classmethod EnumerateActiveMessageFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod EnumerateQueueContentsExecute(ByRef qHandle As %Binary, pQueueName As %String, pPriorKey As %String = "") as %Status
classmethod EnumerateQueueContentsFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod EnumerateQueuesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
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.
Get Queue Count for Business Hosts with Queue Count larger than rowCount
classmethod GetSecurityHelper() as %ZEN.proxyObject [ ZenMethod ]
API to convert the numeric message priority value in pPriority into the corresponding text string.
method OnDrawRibbon() as %Status
Add to the contents of the tool ribbon.
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.
clientmethod changeRefreshContents() [ Language = javascript ]
User chose a new Auto-Refresh value for active messages and queue contents tables; set a new timeout value and start the timer
clientmethod changeRefreshQueues() [ Language = javascript ]
User chose a new Auto-Refresh value for queues table; set a new timeout value and start the timer
clientmethod checkHelper(toCheck, noAlert) [ Language = javascript ]
clientmethod doAbort() [ Language = javascript ]
clientmethod doAbortAll() [ Language = javascript ]
clientmethod drawDetails(messageId) [ Language = javascript ]
Update the details for a selected message.
clientmethod filterChanged() [ Language = javascript ]
User entered something in to the filter. Re-load the table with filter value.
clientmethod hideItem() [ Language = javascript ]
hide detailTable
clientmethod jobAbortMsg() [ Language = javascript ]
clientmethod jobSuspendMsg() [ Language = javascript ]
clientmethod layoutMessagesGroup() [ Language = javascript ]
Layout the Message Panel so that the contents table has a scrollbar if necessary, until the page is so small
that it makes more sense for the entire panel to have a scroll bar. Then get rid of the scrollbar on the
contents table in order to avoid double scrollbars.
clientmethod layoutTabGroup() [ Language = javascript ]
Handle the client-side rendering the of the right hand pane.
clientmethod onTabChange() [ Language = javascript ]
User clicked on a tab, or selected a new item, so we need to fetch the
required content from the server.
clientmethod onTraceSVGLoad() [ Language = javascript ]
Callback from the Trace SVG onSVGLoad() callback.
The callback is used to ensure that we have the loaded SVG diagram available
before we attempt to resize the diagram or highlight the currently selected message.
clientmethod onlayoutHandler(load) [ Language = javascript ]
Adjust sizes of components on the page.
The primary purposes of this function are to ensure that the details pane
is sized correctly based on whether the tab group is hidden, and to
correctly update the expander text and the contents of the tab group.
clientmethod onloadHandler() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
clientmethod refreshAll() [ Language = javascript ]
Reload diagram with a fresh copy.
clientmethod refreshContentsTimeout(timer) [ Language = javascript ]
If auto-refresh is still on, refresh active messages and queue contents tables and restart the timer
clientmethod refreshMessages() [ Language = javascript ]
clientmethod refreshQueuesTimeout(timer) [ Language = javascript ]
If auto-refresh is still on, refresh queues table and restart the timer
clientmethod reselectActiveMessages() [ Language = javascript ]
reselected messages that were selected prior to the table being refreshed
clientmethod reselectMessages() [ Language = javascript ]
reselected messages that were selected prior to the table being refreshed
clientmethod scaleSVGTrace() [ Language = javascript ]
Correctly resize the SVG trace diagram to fit into the current SVG frame size.
clientmethod selectItem(row, table) [ Language = javascript ]
clear selected row from other message table & show detailTable for a selected task
clientmethod selectQueue(row) [ Language = javascript ]
show contentTable for a selected queue
clientmethod setResultsCount() [ Language = javascript ]
clientmethod showContentTables() [ Language = javascript ]
called from selectQueue and %onAfterCreatePage
clientmethod showFullContent(showRaw) [ Language = javascript ]
Show the full content of the current message in a new window or tab.
clientmethod showItem(msgId) [ Language = javascript ]
Update the details for the selected message
clientmethod showTrace(row) [ Language = javascript ]
User clicked a link for Trace. Display the Visual Trace page.
clientmethod updateActiveMessageTable(active) [ Language = javascript ]
clientmethod updateQueuedMessageTable(tbl) [ Language = javascript ]
clientmethod updateQueuesTable() [ Language = javascript ]
clientmethod updateSecurityHelper() [ Language = javascript ]
Queries
query EnumerateActiveMessage(pHostName As %String)
Selects Name As %String, Job As %String, Status As %String, AdapterState As %String, LastActivity As %TimeStamp, Count As %Integer, Method As %String, Retry As %Integer, ActiveMessage As %String
Returns job status for a specific host
PriorKey is a concatenated string that consists of the Priority, "|", and the Index.
query EnumerateQueues(Filter As %String = "")
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- HelpAddress
- ISREADONLY
- LocatorHeader
- ParentURL
- StdTitle
- aboutPage
- align
- aux
- backgroundTimerInterval
- canEdit
- 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
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageModified
- parent
- searchKey
- showLabel
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited 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()
- %GetPageName()
- %GetParameter()
- %GetProductName()
- %GetRootLink()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetProductName()
- %OnGetSmallMenu()
- %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()
- ConvertParameter()
- Decrypt()
- DoLogout()
- DrawLocator()
- DrawRibbon()
- DrawTitle()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- EvalResult()
- GetCSPURL()
- GetContextLinks()
- GetDocURL()
- GetHomePage()
- GetNewURL()
- GetQuickLinks()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- JavaInstalled()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RegisterRecent()
- RewriteURL()
- ShowError()
- SimpleKeepAlive()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- addPopupSuffix()
- arrowClick()
- cancelPopup()
- changePassword()
- changeURLNamespace()
- checkEdit()
- childrenMutated()
- clientKeepAlive()
- correctIELayering()
- createComponent()
- createComponentNS()
- createTimeWarning()
- deleteComponent()
- disableCommandButton()
- displayCountDown()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- enableCommandButton()
- endModal()
- exposeComponent()
- findElement()
- 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()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- 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()