Skip to main content

%Report.ServerDefinition

Class %Report.ServerDefinition Extends %Persistent [ Language = objectscript ]

This class defines the storage for a Report Server Definition.

Properties

Name

Property Name As %String(MAXLEN = 128) [ Required ];

The name of the report server definition

Host

Property Host As %String(MAXLEN = 256, PATTERN = "") [ Required ];

The host where the Logi Report server is running. Can be specified as an IPv4 or IPv6 address, or as a hostname

Port

Property Port As %Integer(MAXVAL = 65535, MINVAL = 1) [ InitialExpression = 8888, Required ];

The port on the Host for the Report Server.

SSOEnabled

Property SSOEnabled As %Boolean [ Required ];

Triggers

CreateDefaultRoles

Trigger CreateDefaultRoles [ Event = INSERT/UPDATE, Foreach = row/object, Time = AFTER ]

Creates the "admin" and "guest" roles for this report server

UpdateRoles

Trigger UpdateRoles [ Event = UPDATE, Foreach = row/object ]

Updates all roles for %Report.ServerDefinition objects after report server rename Renames each role from <{Name*O}>_ to <..Name>_ Replaces all instances of <{Name*O}> in role description with ..Name

DeleteRoles

Trigger DeleteRoles [ Event = DELETE, Foreach = row/object ]

Deletes all roles for this %Report.ServerDefinition object

Methods

%OnValidateObject

Method %OnValidateObject() As %Status [ Internal, Private, ServerOnly = 1 ]

Return the set of Report Server Definitions. Return the Report Server Definition by specified id