Skip to main content

EnsLib.ITK.Setup.SubscriptionRules

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

SQL Table Name: EnsLib_ITK_Setup.SubscriptionRules

This holds the list of Web Services that a Consumer subscribes to from different Senders.

Property Inventory

Method Inventory

Parameters

parameter SrcVer = $Id$;

Properties

property SourceApplication as %String [ Required ];
Property methods: SourceApplicationDisplayToLogical(), SourceApplicationGet(), SourceApplicationGetStored(), SourceApplicationIsValid(), SourceApplicationLogicalToDisplay(), SourceApplicationLogicalToOdbc(), SourceApplicationNormalize(), SourceApplicationSet()
property SourceService as %String [ Required ];
Property methods: SourceServiceDisplayToLogical(), SourceServiceGet(), SourceServiceGetStored(), SourceServiceIsValid(), SourceServiceLogicalToDisplay(), SourceServiceLogicalToOdbc(), SourceServiceNormalize(), SourceServiceSet()
property Subscriber as %String [ Required ];
Property methods: SubscriberDisplayToLogical(), SubscriberGet(), SubscriberGetStored(), SubscriberIsValid(), SubscriberLogicalToDisplay(), SubscriberLogicalToOdbc(), SubscriberNormalize(), SubscriberSet()

Methods

classmethod GetAllSubscribers() as %String
classmethod GetSubscribers(pSourceApp As %String, pService As %String) as %String

Queries

query GetSubscribedServices(pSource As %String = "", pSubscriber As %String = "")
SQL Query:
SELECT SourceService FROM EnsLib_ITK_Setup.SubscriptionRules WHERE (SourceApplication = :pSource AND Subscriber = :pSubscriber)
query GetSubscriberForEventSource(pSource As %String = "", pService As %String = "")
SQL Query:
SELECT Subscriber FROM EnsLib_ITK_Setup.SubscriptionRules WHERE (SourceService = :pService AND SourceApplication = :pSource)
query GetUniqueSubscribers()
SQL Query:
SELECT Distinct %Exact(Subscriber) As Subscriber FROM EnsLib_ITK_Setup.SubscriptionRules

Indexes

index (EventSourceIndex on SourceApplication,SourceService);
Index methods: EventSourceIndexExists()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (UniqueIndex on SourceApplication,SourceService,Subscriber) [Unique];
Index methods: UniqueIndexCheck(), UniqueIndexCheckUnique(), UniqueIndexDelete(), UniqueIndexExists(), UniqueIndexOpen(), UniqueIndexSQLCheckUnique(), UniqueIndexSQLExists(), UniqueIndexSQLFindPKeyByConstraint(), UniqueIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (EnsLib.ITK.Setup.SubscriptionRules)

^EnsITK.Setup.SubscriptionRulesD(ID)
=
%%CLASSNAME
EventType
SourceApplication
Subscriber
MessageCount
ServicePattern
SourceService
FeedbackOpens in a new tab