Skip to main content

EnsLib.ITK.Setup.DistributionRules

persistent class EnsLib.ITK.Setup.DistributionRules extends %Library.Persistent, %XML.Adaptor

SQL Table Name: EnsLib_ITK_Setup.DistributionRules

Stores the list of distribution modes and targets for an incoming Web Request

Property Inventory

Method Inventory

Parameters

parameter SrcVer = $Id$;

Properties

property DistributionMode as %String (VALUELIST = ",Authoritative,Non-Authoritative") [ Required ];
Property methods: DistributionModeDisplayToLogical(), DistributionModeGet(), DistributionModeGetStored(), DistributionModeIsValid(), DistributionModeLogicalToDisplay(), DistributionModeLogicalToOdbc(), DistributionModeNormalize(), DistributionModeSet()
property LogicalAddress as %String) [ Required ];
Property methods: LogicalAddressDisplayToLogical(), LogicalAddressGet(), LogicalAddressGetStored(), LogicalAddressIsValid(), LogicalAddressLogicalToDisplay(), LogicalAddressLogicalToOdbc(), LogicalAddressNormalize(), LogicalAddressSet()
property ServiceName as %String [ Required ];
Property methods: ServiceNameDisplayToLogical(), ServiceNameGet(), ServiceNameGetStored(), ServiceNameIsValid(), ServiceNameLogicalToDisplay(), ServiceNameLogicalToOdbc(), ServiceNameNormalize(), ServiceNameSet()
property TargetComponent as %String [ Required ];
Property methods: TargetComponentDisplayToLogical(), TargetComponentGet(), TargetComponentGetStored(), TargetComponentIsValid(), TargetComponentLogicalToDisplay(), TargetComponentLogicalToOdbc(), TargetComponentNormalize(), TargetComponentSet()

Methods

classmethod GetBestMatch(pAddress As %String, pDistributionMode As %String, pServiceName As %String) as EnsLib.ITK.Setup.DistributionRules

Queries

query DistributionRulesForService(pServiceName As %String)
SQL Query:
SELECT DistributionMode,LogicalAddress,TargetComponent FROM DistributionRules WHERE (ServiceName = :pServiceName)
query DistributionTargets()
SQL Query:
SELECT distinct %EXACT TargetComponent FROM DistributionRules

Indexes

index (DistributionRulesU1 on ServiceName,DistributionMode,LogicalAddress) [IdKey, Type = key, Unique];
Index methods: DistributionRulesU1Check(), DistributionRulesU1Delete(), DistributionRulesU1Exists(), DistributionRulesU1Open(), DistributionRulesU1SQLCheckUnique(), DistributionRulesU1SQLExists(), DistributionRulesU1SQLFindPKeyByConstraint(), DistributionRulesU1SQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (EnsLib.ITK.Setup.DistributionRules)

^EnsITK.DistributionRulesD(ID)
=
%%CLASSNAME
TargetComponent

Subclasses

FeedbackOpens in a new tab