Skip to main content

%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 Settings

Property Inventory

Method Inventory

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.
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

Inherited Methods

FeedbackOpens in a new tab