%CSP.UI.Portal.Config.LogDaemon
class %CSP.UI.Portal.Config.LogDaemon extends %CSP.UI.Portal.Template, %CSP.UI.Portal.Config.Advanced
Class for Log Daemon SettingsProperty Inventory
Method Inventory
- %OnAfterCreatePage()
- %OnGetPageName()
- DaemonPIDGet()
- DrawStatusComponent()
- RenderStatusBadge()
- RenderStatusBadgeZEN()
- RenderTimestampText()
- RenderTimestampTextZEN()
- StatusGet()
- StatusTimestampGet()
- afterSave()
- getPageTitle()
- onloadHandler()
- pollStatus()
- validate()
Parameters
parameter AUTONS = 0;
Do not switch namespace for this page: it needs to stay in %SYS
parameter CSPURL = /csp/sys/mgr/%CSP.UI.Portal.Config.LogDaemon.zen;
Inherited description: This parameter is used to make sure that if multiple
CSP applications are mapped to the same namespace that the CSP engine can correctly
identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined
in the CSP application) then you can only access this page if the url exactly matches
this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for
this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
parameter EMSSERVICE = Config;
parameter HELPADDRESS = Home,Configuration,Log Daemon Settings;
Inherited description: Each SMP page should set this link which points to the documentation anchor name.
parameter PAGENAME = Log Daemon;
Displayed name of this page.
parameter RESOURCE = %Admin_Manage;
Security requirement
Properties
property DaemonPID as %Integer;
Property methods: DaemonPIDDisplayToLogical(), DaemonPIDIsValid(), DaemonPIDLogicalToDisplay(), DaemonPIDNormalize(), DaemonPIDSet(), DaemonPIDXSDToLogical()
property IsEditForm as %Boolean [ InitialExpression = 1 ];
Inherited description: If set to 1 then the generic Save and Cancel button will be shown on the ribbon bar.
Property methods: IsEditFormDisplayToLogical(), IsEditFormGet(), IsEditFormIsValid(), IsEditFormLogicalToDisplay(), IsEditFormLogicalToXSD(), IsEditFormNormalize(), IsEditFormSet(), IsEditFormXSDToLogical()
property Status as %Boolean;
Property methods: StatusDisplayToLogical(), StatusIsValid(), StatusLogicalToDisplay(), StatusLogicalToXSD(), StatusNormalize(), StatusSet(), StatusXSDToLogical()
property StatusTimestamp as %TimeStamp;
Property methods: StatusTimestampDisplayToLogical(), StatusTimestampIsValid(), StatusTimestampLogicalToDisplay(), StatusTimestampLogicalToXSD(), StatusTimestampNormalize(), StatusTimestampOdbcToLogical(), StatusTimestampSet(), StatusTimestampXSDToLogical()
property Subject as %String [ InitialExpression = "Logging" ];
Subject name for the setting page.
Property methods: SubjectDisplayToLogical(), SubjectGet(), SubjectIsValid(), SubjectLogicalToDisplay(), SubjectLogicalToOdbc(), SubjectNormalize(), SubjectSet()
Methods
method %OnAfterCreatePage() as %Status
Subclass can override.
method %OnGetPageName() as %String
Inherited description: Get the (localized) name of the page.
This should be implemented in a subclass.
method DaemonPIDGet() as %Integer
method DrawStatusComponent(arg) as %Status
classmethod RenderStatusBadge(status As %Boolean, timestamp As %TimeStamp, otherInfo As %String = "") as %String
method RenderStatusBadgeZEN() as %String [ ZenMethod ]
classmethod RenderTimestampText(status, timestamp) as %String
method RenderTimestampTextZEN() as %String [ ZenMethod ]
method StatusGet() as %Boolean
method StatusTimestampGet() as %TimeStamp
clientmethod afterSave(result As %ZEN.proxyObject) [ Language = javascript ]
This method can be called by the doSave() function to handle what the ZenMethod of server Save returned.
The method expects a proxy object to be passed.
result.ok = 1 indicates save is successful. result.Message is a message (not an error message) that should be displayed.
result.ok = 0 indicates save has failed. result.ErrorMessage should be displayed.
If result.ok = 1 and result.Message is null then the edit form is closed and the ParentURL is displayed.
Although this method is inherited from %CSP.UI.Portal.Template
we override it to prevent returning to the home page after click save for better UX
clientmethod getPageTitle() as %String [ Language = javascript ]
Get the title string to add to the locator row.
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: Disable save button for EMS-managed pages.
Be sure to use this.invokeSuper('onloadHandler',arguments); when overriding.
clientmethod pollStatus() [ Language = javascript ]
clientmethod validate() as %Boolean [ Language = javascript ]
If any required field failed, the hint for the field will be turned to red.
The first one failed should have focus.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- FirstFailed
- HelpAddress
- ISREADONLY
- InvalidParam
- IsEMSReadOnly
- LocatorHeader
- OnclickArray
- PID
- ParentURL
- Properties
- StdTitle
- ValidationErrorMsg
- aboutPage
- align
- aux
- backgroundTimerInterval
- 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
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblTitle
- limitPopups
- 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
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %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()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetProductName()
- %OnGetSmallMenu()
- %OnGetTitle()
- %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()
- OnDrawRibbon()
- OnGetRibbonInfo()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- PopulateFields()
- QuoteJS()
- ReallyClearEscalation()
- RegisterRecent()
- RewriteURL()
- SaveData()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- afterValidate()
- cancelPopup()
- changePassword()
- childrenMutated()
- clearEscalation()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- disableCommandButton()
- doCancel()
- doModified()
- doSave()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- enableCommandButton()
- endModal()
- escalateLogin()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getProperty()
- getSettings()
- getTitleAreaHeight()
- getType()
- goHome()
- goMenu()
- gotoNamespace()
- gotoPage()
- hideCommandButton()
- invokeSuper()
- isButtonDisabled()
- isOfType()
- launchPopupWindow()
- logout()
- makeId()
- navigate()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- resetMsg()
- searchBlur()
- searchBoxHandler()
- searchFocus()
- searchKeyDown()
- searchKeyPress()
- setComponentId()
- setConnectivityStatusMsg()
- setHidden()
- setModified()
- setOverlayMode()
- setPageTitle()
- setProperty()
- setPropertyAll()
- setSortMode()
- setSortModeHandler()
- setTraceOption()
- setViewMode()
- setViewModeHandler()
- showAbout()
- showCommandButton()
- showContact()
- showDocumentation()
- showHelp()
- showMsg()
- startModal()
- startProgressBar()
- stopProgressBar()
- switchNamespace()
- trimSpace()
- validateRequired()