Home > Class Reference > %SYS namespace > %Report.ServerDefinition

%Report.ServerDefinition

persistent class %Report.ServerDefinition extends %Library.Persistent

SQL Table Name: %Report.ServerDefinition

This class defines the storage for a Report Server Definition.

Property Inventory (Including Private)

Properties (Including Private)

property Host as %String (MAXLEN = 256) [ Required ];
The host where the Logi Report server is running. Can be specified as an IPv4 or IPv6 address, or as a hostname
Property methods: HostDisplayToLogical(), HostGet(), HostGetStored(), HostIsValid(), HostLogicalToDisplay(), HostLogicalToOdbc(), HostNormalize(), HostSet()
property Name as %String (MAXLEN = 128) [ Required ];
The name of the report server definition
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIdxCheck(), NameIdxCheckUnique(), NameIdxDelete(), NameIdxExists(), NameIdxOpen(), NameIdxSQLCheckUnique(), NameIdxSQLExists(), NameIdxSQLFindPKeyByConstraint(), NameIdxSQLFindRowIDByConstraint(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Port as %Integer (MAXVAL = 65535, MINVAL = 1) [ InitialExpression = 8888 , Required ];
The port on the Host for the Report Server.
Property methods: PortDisplayToLogical(), PortGet(), PortGetStored(), PortIsValid(), PortLogicalToDisplay(), PortNormalize(), PortSet()
property SSOEnabled as %Boolean [ Required ];
Property methods: SSOEnabledDisplayToLogical(), SSOEnabledGet(), SSOEnabledGetStored(), SSOEnabledIsValid(), SSOEnabledLogicalToDisplay(), SSOEnabledNormalize(), SSOEnabledSet()

Queries

query ByName(name As %String = "")
Selects ID, Name, Host, Port
SQL Query:
Select %ID,Name,Host,Port From %Report.ServerDefinition Order By Name
Return the set of Report Server Definitions.
query WhereID(id As %String = "")
Selects Name
SQL Query:
Select Name From %Report.ServerDefinition WHERE %ID=:id
Return the Report Server Definition by specified id

Indexes

index (NameIdx on Name) [Unique];
Index methods: NameIdxCheck(), NameIdxCheckUnique(), NameIdxDelete(), NameIdxExists(), NameIdxOpen(), NameIdxSQLCheckUnique(), NameIdxSQLExists(), NameIdxSQLFindPKeyByConstraint(), NameIdxSQLFindRowIDByConstraint()

Triggers

trigger CreateDefaultRoles (AFTER event INSERT/UPDATE);
Creates the "admin" and "guest" roles for this report server
trigger DeleteRoles (BEFORE event DELETE);
Deletes all roles for this %Report.ServerDefinition object
trigger UpdateRoles (BEFORE event UPDATE);
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

Inherited Members

Inherited Methods (Including Private)

Storage

Storage Model: Storage (%Report.ServerDefinition)

^%Report.ServerDefinitionD(ID)
=
%%CLASSNAME
Name
Host
Port
SSOEnabled
FeedbackOpens in a new window