EnsPortal.TestingService
class EnsPortal.TestingService extends EnsPortal.Template.standardPage
The first page for Testing Service. If there is a Production running, display the name in the title. If no Production is running or if the Production is not enabled for testing, display an error message and terminate. Populate the "Config Item Name" drop-down according to the selection of "Business Process" or "Business Operation". Allow user to select one item from the list. When user clicks button "Test", present the popup, passing the name of the production and the config item name selected.Property Inventory
Method Inventory
- %OnGetPageName()
- %OnGetTitle()
- DrawTopMessages()
- GetDialogURL()
- GetIsTestingEnabled()
- GetRunningProduction()
- OnGetRibbonInfo()
- changeTargetName()
- changeTargetType()
- populateListOfHosts()
- testThisTarget()
Parameters
parameter PAGENAME = Testing Service;
Inherited description: Displayed name of this page.
parameter RESOURCE = %Ens_TestingService:USE;
User needs USE permissions on the %Ens_TestingService resource to view this page.
Properties
property HostName as %String (MAXLEN = 128);
Property methods: HostNameDisplayToLogical(), HostNameGet(), HostNameIsValid(), HostNameLogicalToDisplay(), HostNameLogicalToOdbc(), HostNameNormalize(), HostNameSet()
property HostType as %String;
Property methods: HostTypeDisplayToLogical(), HostTypeGet(), HostTypeIsValid(), HostTypeLogicalToDisplay(), HostTypeLogicalToOdbc(), HostTypeNormalize(), HostTypeSet()
property Production as %String (MAXLEN = 128);
Property methods: ProductionDisplayToLogical(), ProductionGet(), ProductionIsValid(), ProductionLogicalToDisplay(), ProductionLogicalToOdbc(), ProductionNormalize(), ProductionSet()
Methods
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
If there is a production running, its name will appear here; otherwise, we use the page name.
Draw the messages at the top of the contents panel.
If there is a running Production enabled for testing, make visible the controls to select target type and name.
method GetDialogURL() as %String [ ZenMethod ]
classmethod GetIsTestingEnabled(pProduction) as %Boolean
Return a boolean indicating if the production is enabled for testing or not.
classmethod GetRunningProduction() as %String
Return the name of the running production, or null if no production is currently running.
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 changeTargetName() [ Language = javascript ]
User selected a target name.
clientmethod changeTargetType(type) [ Language = javascript ]
User selected/changed a target type.
Load the target name control with the config item names of that type.
method populateListOfHosts(pType As %String) [ ZenMethod ]
Populate control with the list of hosts of the given type.
Type can be "P" (Process) or "O" (Operation).
clientmethod testThisTarget() [ Language = javascript ]
Invoked when the user clicks the "Test" button.
Check if a target has been selected and pass it on to the popup dialog.
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()
- %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()
- %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()
- GetHyperEventResources()
- GetNewURL()
- GetQuickLinks()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- JavaInstalled()
- Link()
- OnDrawRibbon()
- 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()
- onlayoutHandler()
- onloadHandler()
- 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()