Home > Class Reference > ENSLIB namespace > EnsLib.ITK.Setup.DistributionRules

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 (Including Private)

Method Inventory (Including Private)

Parameters

parameter SrcVer = $Id$;

Properties (Including Private)

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 (Including Private)

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 (Including Private)