EnsPortal.Agents
class EnsPortal.Agents extends EnsPortal.Template.viewerPage
Agent browser pageProperty Inventory
- canViewFileSystem
- checkEdit
- detailsWidth
- endId
- msgVersions
- pageNumberId
- pageSizeId
- searchHidden
- sessionLinkTitle
- startId
- tracePage
Method Inventory
- %OnAfterCreatePage()
- %OnDrawHTMLHead()
- %OnGetPageName()
- %OnGetTitle()
- DeleteItem()
- DisplayStatus()
- DrawStatusContent()
- EnumerateClose()
- EnumerateExecute()
- EnumerateFetch()
- Export()
- FileExists()
- GetAndUseDefaults()
- GetDefaultDir()
- GetDefaultFilename()
- GetHyperEventResources()
- GetRegItem()
- GetResultSet()
- GetSecurityHelper()
- InitEnumerateFetch()
- OnDrawRibbon()
- OnGetRibbonInfo()
- Overwrite()
- PurgeSelectedItems()
- SetDefaultDir()
- SubmitRegItem()
- UpdateObj()
- applyChanges()
- applyInterfaces()
- beginExport()
- beginImport()
- changeRefresh()
- changedInterfaces()
- checkForChanges()
- clearPageNumber()
- clientInterfaces()
- cloneItem()
- deleteAgentInterfaces()
- deleteInterface()
- doAgent()
- doDelete()
- doExport()
- doImport()
- doPurge()
- editInterface()
- enterKey()
- findConflicts()
- formReset()
- getBaseItem()
- getClientInterfaces()
- getNextData()
- layoutTabGroup()
- logout()
- onAfterPageChange()
- onPopupAction()
- onSearchHandler()
- onSelectItem()
- onTabChange()
- onUpdate()
- onlayoutHandler()
- onloadHandler()
- onunloadHandler()
- populateControls()
- renderInterfacesTable()
- resolveImportConflicts()
- rowSelected()
- rowUnSelected()
- saveChanges()
- saveDefaults()
- saveInterface()
- saveOption()
- saveProperty()
- selectFilepath()
- selectRow()
- setSearchCriteria()
- setupImport()
- textControlKeyDown()
- timeout()
- updateActions()
- updateNavigationButtons()
- updateSecurityHelper()
Parameters
parameter EDITRESOURCE = %Ens_Agents:WRITE;
User needs WRITE permissions on the %Ens_Agents resource to make changes to this page.
parameter JSINCLUDES = ensemble/Ensemble_Utils.js;
Comma-separated list of additional JS include files for the page.
parameter PAGENAME = Agents;
Displayed name of this page.
parameter RESOURCE = %Ens_Agents:READ;
User needs READ permissions on the %EnsLib_Agent resource to view this page.
Properties
property canViewFileSystem as %Boolean [ InitialExpression = $system.Security.Check("%Ens_ViewFileSystem","USE") ];
Is the user permitted to access the fileSelect popup.
Property methods: canViewFileSystemDisplayToLogical(), canViewFileSystemGet(), canViewFileSystemIsValid(), canViewFileSystemLogicalToDisplay(), canViewFileSystemLogicalToXSD(), canViewFileSystemNormalize(), canViewFileSystemSet(), canViewFileSystemXSDToLogical()
property checkEdit as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Property methods: checkEdit(), checkEditDisplayToLogical(), checkEditGet(), checkEditIsValid(), checkEditLogicalToDisplay(), checkEditLogicalToOdbc(), checkEditLogicalToXSD(), checkEditNormalize(), checkEditSet(), checkEditXSDToLogical()
property detailsWidth as %ZEN.Datatype.integer (MAXVAL = 80, MINVAL = 5) [ InitialExpression = 30 ];
Inherited description: 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 methods: detailsWidthDisplayToLogical(), detailsWidthGet(), detailsWidthIsValid(), detailsWidthLogicalToDisplay(), detailsWidthLogicalToOdbc(), detailsWidthNormalize(), detailsWidthSet()
property endId as %ZEN.Datatype.string (ZENURL = "EndId");
Property methods: endIdDisplayToLogical(), endIdGet(), endIdIsValid(), endIdLogicalToDisplay(), endIdLogicalToOdbc(), endIdNormalize(), endIdSet()
property msgVersions as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Versions") ];
Property methods: msgVersionsDisplayToLogical(), msgVersionsGet(), msgVersionsIsValid(), msgVersionsLogicalToDisplay(), msgVersionsLogicalToOdbc(), msgVersionsNormalize(), msgVersionsSet()
property pageNumberId as %ZEN.Datatype.id [ InitialExpression = "pageTotal" ];
Inherited description: Id of the page number field
Property methods: pageNumberIdDisplayToLogical(), pageNumberIdGet(), pageNumberIdIsValid(), pageNumberIdLogicalToDisplay(), pageNumberIdLogicalToOdbc(), pageNumberIdNormalize(), pageNumberIdSet()
property pageSizeId as %ZEN.Datatype.id [ InitialExpression = "MaxRows" ];
Inherited description: Id of the page size field
Property methods: pageSizeIdDisplayToLogical(), pageSizeIdGet(), pageSizeIdIsValid(), pageSizeIdLogicalToDisplay(), pageSizeIdLogicalToOdbc(), pageSizeIdNormalize(), pageSizeIdSet()
property searchHidden as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Flag to indicate whether the searchPanel is currently hidden.
Property methods: searchHiddenDisplayToLogical(), searchHiddenGet(), searchHiddenIsValid(), searchHiddenLogicalToDisplay(), searchHiddenLogicalToOdbc(), searchHiddenLogicalToXSD(), searchHiddenNormalize(), searchHiddenSet(), searchHiddenXSDToLogical()
property sessionLinkTitle as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Click to view a visual trace of the session") ];
Property methods: sessionLinkTitleDisplayToLogical(), sessionLinkTitleGet(), sessionLinkTitleIsValid(), sessionLinkTitleLogicalToDisplay(), sessionLinkTitleLogicalToOdbc(), sessionLinkTitleNormalize(), sessionLinkTitleSet()
property startId as %ZEN.Datatype.string (ZENURL = "StartId");
Property methods: startIdDisplayToLogical(), startIdGet(), startIdIsValid(), startIdLogicalToDisplay(), startIdLogicalToOdbc(), startIdNormalize(), startIdSet()
property tracePage as %ZEN.Datatype.string [ InitialExpression = "EnsPortal.VisualTrace.zen" ];
Property methods: tracePageDisplayToLogical(), tracePageGet(), tracePageIsValid(), tracePageLogicalToDisplay(), tracePageLogicalToOdbc(), tracePageNormalize(), tracePageSet()
Methods
method %OnAfterCreatePage() as %Status
Fill search criteria defaults
method %OnDrawHTMLHead() as %Status
This callback is called at the end of the HTML HEAD section of the page.
(default implementation is a simple expression).
(default implementation is a simple expression).
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
classmethod DeleteItem(pId As %String) as %ZEN.Datatype.string [ ZenMethod ]
classmethod EnumerateExecute(ByRef qHandle As %Binary, ByRef pWhere, ByRef pSortBy, ByRef pDescend) as %Status
classmethod EnumerateFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod Export(pId As %Integer = -1, pFile As %String = "", pWhere, pSortBy, pDescend) as %String
method GetAndUseDefaults() as %String
Method called from %OnAfterCreatePage() to get defaults and build up the initial display
classmethod GetDefaultDir() as %String [ ZenMethod ]
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.
classmethod GetRegItem(ByRef pParms, Output pObject As %RegisteredObject) as %Status
classmethod GetResultSet(pWhere, pSortBy, pDescend, Output pSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %ResultSet
Callback that is executed to create the resultset for the main table.
classmethod GetSecurityHelper() as %Boolean [ ZenMethod ]
classmethod InitEnumerateFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
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.
each node in array should be items(agentName)=existance
classmethod PurgeSelectedItems(where, sortBy, descend) as %ZEN.Datatype.string [ ZenMethod ]
classmethod SetDefaultDir(pPathname As %String) [ ZenMethod ]
classmethod SubmitRegItem(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As EnsLib.Agent.Interface, Output pResponseObject As %RegisteredObject) as %Status
Object submit handler JSON provider.
This is called when the client submits the DTL definition.
classmethod UpdateObj(pSrc As EnsLib.Agent.Interface, pTarg As EnsLib.Agent.Interface) as %Status
clientmethod applyChanges() [ Language = javascript ]
clientmethod applyInterfaces() [ Language = javascript ]
clientmethod beginExport(pId) [ Language = javascript ]
clientmethod beginImport() [ Language = javascript ]
clientmethod changeRefresh() [ Language = javascript ]
User chose a new Auto-Refresh value; set a new timeout value and start the timer
clientmethod changedInterfaces() [ Language = javascript ]
Return boolean = true if client Interfaces have changed since opening the current item
clientmethod checkForChanges(obj, propName, changed) [ Language = javascript ]
Check to see if any properties of the current item have been changed since opening the current item (note that item re-opens on saving)
clientmethod clearPageNumber() [ Language = javascript ]
method clientInterfaces(name) as %Status [ ZenMethod ]
clientmethod cloneItem(obj) [ Language = javascript ]
classmethod deleteAgentInterfaces(tName) as %Boolean [ ZenMethod ]
clientmethod deleteInterface(key) [ Language = javascript ]
Delete the given Interface.
clientmethod doAgent() [ Language = javascript ]
Open New Agent dialog to register a new agent
clientmethod doDelete() [ Language = javascript ]
Delete the selected agent
method doExport(pId, pFile, pWhere, pSortBy, pDescend) [ ZenMethod ]
method doImport(value As %List) [ ZenMethod ]
clientmethod doPurge() [ Language = javascript ]
Delete all agents that satisfy the current search criteria
clientmethod editInterface(key) [ Language = javascript ]
Launch the Interface properties dialog.
clientmethod enterKey() [ Language = javascript ]
Use with certain fields so user can hit Enter to indicate that an entry in the field is done and ready to use
on first pass through the import file, tabulate types of conflicts for each item
clientmethod formReset() [ Language = javascript ]
Reset the "Search Events By..." form fields to blank, reset other fields to defaults
clientmethod getBaseItem(propName) [ Language = javascript ]
clientmethod getNextData(next) [ Language = javascript ]
Inherited description: User clicked the Next Page or Previous Page button
clientmethod layoutTabGroup() [ Language = javascript ]
Handle the client-side rendering the of the right hand pane.
This is primarily due to IE as it shrinks the contents div without this intervention.
The function only adjusts the size of the tab group is not hidden.
clientmethod logout() [ Language = javascript ]
To display a custom message, override logout() and do the unload check ourselves.
clientmethod onAfterPageChange() [ Language = javascript ]
Inherited description: Callback invoked after the next/previous page has been loaded.
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.
clientmethod onSearchHandler() [ Language = javascript ]
User clicked the Search button, user changed a Quick Search or Event Type criterion,
clientmethod onSelectItem() [ Language = javascript ]
populate detailTable for the selected row or no selected row
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 onUpdate(table) [ Language = javascript ]
override resultsTable TablePane methods
clientmethod onlayoutHandler(load) [ Language = javascript ]
Adjust sizes of components on the page.
Do this differently for Registry than for other children of EnsPortal.Template.viewerPage (hence the override).
In this case the details pane does NOT get large when the search pane is minimized.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod onunloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is unloaded.
If this method returns a string value, then that is used as the
return value of the HTML page's onbeforeunload handler (if more than
one component returns a string, the first one encountered is used).
clientmethod populateControls(obj, propName) [ Language = javascript ]
clientmethod renderInterfacesTable() [ Language = javascript ]
Update the contents of the Interfaces table.
clientmethod resolveImportConflicts(fileName As %String) [ Language = javascript ]
clientmethod rowSelected(table) [ Language = javascript ]
User selected a row in the table
clientmethod rowUnSelected(table) [ Language = javascript ]
User selected a row in the table
clientmethod saveChanges(obj, propName) [ Language = javascript ]
method saveDefaults(SortBy, Descend, MaxRows, AutoRefresh, Expanded, HideDetails, HideSearch) [ ZenMethod ]
Save user's last search criteria into global for page default
classmethod saveInterface(Name, ID, Description="", Type, Location="", Config="", Timeout="", Port="", Notes="", Credential="", Availability="", Options="") as %String [ ZenMethod ]
classmethod saveOption(AgentName, propName, value) as %Status [ ZenMethod ]
classmethod saveProperty(Agent, propName, value) as %Status [ ZenMethod ]
clientmethod selectRow(row, scroll, which) [ Language = javascript ]
Overrides TablePane method
method setSearchCriteria(init, ready, failed, stopped, overdue, part, partFail, partStop, other, word, sort, descend) as %String [ ZenMethod ]
method setupImport(pFile) [ ZenMethod ]
clientmethod textControlKeyDown(evt, escOnly) [ Language = javascript ]
clientmethod timeout(timer) [ Language = javascript ]
If auto-refresh is still on, refresh table and restart the timer
clientmethod updateActions() [ Language = javascript ]
Ensure that the "Next" and "Previous" buttons behave correctly
based on the data returned from the current search.
clientmethod updateSecurityHelper() [ Language = javascript ]
Queries
query Enumerate(ByRef pWhere, ByRef pSortBy, ByRef pDescend)
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
- containerStyle
- cssLevel
- currSortMode
- currStep
- currViewMode
- currentPage
- currentPageStart
- detailsHidden
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- hidden
- hideDetailsMsg
- hideSearchMsg
- hint
- hintClass
- hintStyle
- home
- homePage
- id
- index
- isFirstPage
- isLastPage
- keepAliveInterval
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblDetails
- lblTitle
- limitPopups
- msgCloseDetail
- msgNotPermitted
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageId
- pageModified
- parent
- queryAtEnd
- resultsTableId
- searchCriteria
- searchJob
- searchKey
- searchQuery
- selectedId
- showDetailsMsg
- showLabel
- showSearchMsg
- slice
- tablePaneUsesSQLAttrib
- tempPortalNode
- 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()
- %GetLocatorLinks()
- %GetPageName()
- %GetParameter()
- %GetProductName()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetProductName()
- %OnGetSmallMenu()
- %OnGetTableLinkMenu()
- %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()
- DrawDetailsContent()
- DrawLocator()
- DrawRibbon()
- DrawTitle()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- EvalResult()
- GetCSPURL()
- GetColumnsAndFrom()
- GetContextLinks()
- GetDocPage()
- GetHomePage()
- GetNewURL()
- GetQuickLinks()
- GetRemoteSearchJob()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- PrepareCancel()
- QuoteJS()
- RegisterRecent()
- RemoveTempData()
- ResetQuery()
- RewriteURL()
- ShowError()
- SignalCancel()
- SimpleKeepAlive()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- addPopupSuffix()
- adjustExpanderText()
- arrowClick()
- cancelPopup()
- cancelSearch()
- changePassword()
- changeURLNamespace()
- checkEdit()
- childrenMutated()
- clientKeepAlive()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- disableCommandButton()
- doSearch()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- enableCommandButton()
- endModal()
- executeSearch()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getContentAreaHeight()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getProperty()
- getResultsTable()
- getSearchForm()
- getSettings()
- getTitleAreaHeight()
- getType()
- goHome()
- goMenu()
- gotoNamespace()
- gotoPage()
- hideCommandButton()
- inResizeLoop()
- indicateIfCancelled()
- initPopupSuffix()
- invokeSuper()
- isOfType()
- launchPopupWindow()
- makeId()
- navigate()
- onAfterSearch()
- onChangeResultsPage()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onEnsException()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- onToggleDetails()
- onToggleSearch()
- ondisabledHandler()
- onkeydownHandler()
- onkeyupHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- removePopupSuffix()
- render()
- renderContents()
- renderSVG()
- searchBlur()
- searchBoxHandler()
- searchFocus()
- searchKeyDown()
- searchKeyPress()
- selectItem()
- setComponentId()
- setConnectivityStatusMsg()
- setHidden()
- setModified()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setSortMode()
- setSortModeHandler()
- setTraceOption()
- setViewMode()
- setViewModeHandler()
- showAbout()
- showCommandButton()
- showDocumentation()
- showHelp()
- showQuery()
- startKeepAlive()
- startModal()
- startProgressBar()
- stopKeepAlive()
- stopProgressBar()
- switchNamespace()
- toggleCancelState()
- toggleDetails()
- toggleSearch()
- toggleSearchState()
- updatePageData()
- updatePageNumber()
- updatePageSize()